Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Verifying Javascript is enabled

by vagnerr (Prior)
on Jan 23, 2002 at 21:27 UTC ( [id://140946]=note: print w/replies, xml ) Need Help??


in reply to Verifying Javascript is enabled

I don't think there is realy a way to do this. The browser does not pass that information to the server when it makes a request. You're best bet would probably be to put some javascript into the preceeding page that links to you're CGI script in order to add an extra form element or value. Something like
onClick = document.forms['myform'].elements['isjavascript'].value = 1

inside you HREF tag or if you waht to be realy simple just have something like
<noscript>This site requires JavaScript to be enabled</noscript>


---If it doesn't fit use a bigger hammer

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://140946]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found