mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-17 05:23:13 +01:00
14 lines
244 B
JavaScript
14 lines
244 B
JavaScript
|
/**
|
||
|
* Common functions for import / export
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Clear a selectbox
|
||
|
*/
|
||
|
function clear_options(id) {
|
||
|
var list = document.getElementById(id);
|
||
|
for(var count = list.options.length - 1; count >= 0; count--) {
|
||
|
list.options[count] = null;
|
||
|
}
|
||
|
}
|