Re: Can PHP detect if JavaScript is enabled

From: Date: Fri, 08 Sep 2000 13:02:35 +0000
Subject: Re: Can PHP detect if JavaScript is enabled
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15868@lists.php.net to get a copy of this message
> > I would like to insert JavaScript code if I know it is turned on. Can PHP > detect if JavaScript is enabled? I don't think so. But if it's turned off, it doesn't matter if you put it in. If you want to devide between JavaScript on and of you can use <SCRIPT Language="JavaScript"> [Put here the code to be executed when JavaScript is on] </SCRIPT> <NOSCRIPT> [Put here the code to be executed when JavaScript is off] </NOSCRIPT> Regards Martin

« previous php.general (#15868) next »