Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

when javascript is disabled in browser

1 view
Skip to first unread message

Rahul!!

unread,
Mar 14, 2011, 9:25:00 AM3/14/11
to beginn...@perl.org
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
}

David Christensen

unread,
Mar 14, 2011, 6:24:15 PM3/14/11
to beginn...@perl.org

I'd look into the NOSCRIPT tag:

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


HTH,

David


J Alejandro Ceballos Z

unread,
Mar 17, 2011, 9:31:13 AM3/17/11
to dpch...@holgerdanske.com, beginn...@perl.org
Use

<noscript>Javascript disabled</noscript>


Atentamente,

J. Alejandro Ceballos Z.

0 new messages