Re: Detect if javascript is enabled

From: Date: Thu, 20 Sep 2001 19:20:32 +0000
Subject: Re: Detect if javascript is enabled
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68049@lists.php.net to get a copy of this message
You could also have Javscript do something like: <script> document.location.href = "theyvegotjavascript.php"; </script> other wise they don't... -philip On Thu, 20 Sep 2001, Mark wrote: > On Thu, 20 Sep 2001 19:41:55 +0200, Ole Victor wrote: > >Hi, > > > >Does anyone know a simple trick to get PHP detect if the user's > >browser has > >javascript enabled? > > the easiest way is to set a cookie w/ javascript, but you won't know > until the second request. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#68049) next »