You could use a dummy page, with
META HTTP-EQUIV=Refresh CONTENT=0;URL=newpage.php?jscript=off
SCRIPT
location.href='newpage.php?jscript=on';
/SCRIPT
What this should do is redirect if javascript is enabled or disabled
giving you a URL variable to parse. I have not tested it but
theorectically
You can't tell from the server side, but you can have a page send them
to a different page depending on whether or not Javascript is enable.
You could have a temp page with a Javascript redirect that is kicked off
with an onLoad event handler and also have a meta refresh on the same
page the
META HTTP-EQUIV=Refresh CONTENT=0;URL=newpage.php?jscript=off
Pardon my ignorance, but wouldn't this immediately send the browser onto the
next page before it had the opportunity to get to and run this:
SCRIPT
location.href='newpage.php?jscript=on';
/SCRIPT
? If that's the case, wouldn't
Boget [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 12:36 PM
To: Matt Babineau; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Browser Javascript capabilities
META HTTP-EQUIV=Refresh CONTENT=0;URL=newpage.php?jscript=off
Pardon my ignorance, but wouldn't this immediately send
4 matches
Mail list logo