On 03/14/2011 06:25 AM, Rahul!! wrote:
I am new to cgi-perl web development. When javascript is disabled in
the browser, how to validate it from the CGI file?? I want to do
something like this,

if (/javascript is disabled){
      print "<br>  This webapp needs javascript, please enableable
javascript and retry";
      exit;
}else
#move on
}

I'd look into the NOSCRIPT tag:

    http://www.w3.org/TR/html4/interact/scripts.html#edef-NOSCRIPT


HTH,

David



--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/


Reply via email to