Re: Javascript detection , working version

From: Date: Fri, 12 Jan 2007 12:02:25 +0000
Subject: Re: Javascript detection , working version
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-246989@lists.php.net to get a copy of this message
Ruben Rubio Rey wrote: > > A good way to detect if javascript exists is (cross-browser, > cross-platform): > > You try to load javascript_exists.htm. > > - ------------------------------------------------------------ > javascript_exists.htm: > <noscript> > <meta http-equiv="refresh" content="0; > URL=javascript_not_actived.htm"> > </noscript> > <html> > ... > Javascript is actived!! > </html> > > - ------------------------------------------------------------ > javascript_not_actived.htm: > <html> > ... > Javascript is *NOT* actived!! > </html> > obviously the most simple and logical solution ;) p.s.: sorry for the previous empty post(hit wrong botten) Juergen -- View this message in context: http://www.nabble.com/Javascript-detection-tf2905451.html#a8297234 Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#246989) next »