Re: when javascript is disabled in browser

[email protected] (David Christensen) Mon, 14 Mar 2011 15:24:15 -0700
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
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