diff options
Diffstat (limited to 'package/webif/files/www/webif.js')
-rw-r--r-- | package/webif/files/www/webif.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/package/webif/files/www/webif.js b/package/webif/files/www/webif.js deleted file mode 100644 index 64d26cd8b..000000000 --- a/package/webif/files/www/webif.js +++ /dev/null @@ -1,33 +0,0 @@ -function value(name) -{ - var item = document.getElementById(name); - return (item ? item.value : ""); -} -function isset(name, val) -{ - return (value(name) == val); -} -function checked(name) -{ - var item = document.getElementById(name); - return ((item) && item.checked); -} -function hide(name) -{ - var item = document.getElementById(name); - if (item) - item.style.display = 'none'; -} -function show(name) -{ - var item = document.getElementById(name); - if (item) - item.style.display = ''; -} -function set_visible(name, value) -{ - if (value) - show(name) - else - hide(name) -} |