Re: [SMARTY] Setting a variable if javascript is enabled?

From: Date: Wed, 12 Feb 2003 13:15:14 +0000
Subject: Re: [SMARTY] Setting a variable if javascript is enabled?
References: 1 2 3 4 5 6  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7675@lists.php.net to get a copy of this message
Hi Jason, > http://smarty.php.net/faq.php#18 That was not the question. I need to set a smarty or PHP-variable if javacript is enabled for using javascript-codesnippets inside my HTML-elements. (like the usage of the javascript &{mydisp} variable inside the UL-tag) I've already escaped my javascript code by changing the default- delimiters of smarty to "<{" and "}>", so escaping javascript is not the problem... Anybody else any idea? Maybe there is a REQUEST-variable I could use, or other PHP-features... But I didn't find any useful. with regards, Matthias

« previous php.smarty.general (#7675) next »