Then look for that hidden field in your code. If it is there then they have javascript enabled.<script language="javascript"> // <!-- document.write("<input type='hidden' name='js' value='1'>"); // --> </script>
use strict; use CGI; my $q = CGI->new(); if( $q->param('js') ) { # They have javascript! } else { # they don't. }
In reply to Re: Perl & JavaScript
by Adam
in thread Perl & JavaScript
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |