diff options
author | Vinicius Coque <vcoque@gmail.com> | 2011-10-24 20:34:39 -0200 |
---|---|---|
committer | Vinicius Coque <vcoque@gmail.com> | 2011-10-24 20:34:39 -0200 |
commit | ea1cea05ee195fd56eedd095bf25e89b27762972 (patch) | |
tree | 08df8628cb59458b66368d40ca6112c96698a8af /usr/local/www/wizard.php | |
parent | fc4fa6de31b353951da241a2bf594ba82d4600eb (diff) | |
download | pfsense-ea1cea05ee195fd56eedd095bf25e89b27762972.zip pfsense-ea1cea05ee195fd56eedd095bf25e89b27762972.tar.gz |
Converting javascript code from prototype to jQuery
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-x | usr/local/www/wizard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index 493fab1..a136f7b 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -282,7 +282,7 @@ function showchange() { foreach($showfields as $showfield) { $showfield = strtolower($showfield); //print "\t\t" . 'document.iform.' . $showfield . ".display =\"none\";\n"; - print "\t\t \$('". $showfield . "').hide();"; + print "\t\t jQuery('#". $showfield . "').hide();"; } } print "\t" . '} else {' . "\n"; @@ -291,7 +291,7 @@ function showchange() { foreach($showfields as $showfield) { $showfield = strtolower($showfield); #print "\t\t" . 'document.iform.' . $showfield . ".display =\"\";\n"; - print "\t\t \$('". $showfield . "').show();"; + print "\t\t jQuery('#". $showfield . "').show();"; } } print "\t" . '}' . "\n"; |