setting javascript variables on url

From: Date: Fri, 06 Sep 2002 19:06:42 +0000
Subject: setting javascript variables on url
Groups: php.general 
Request: Send a blank email to php-general+get-115543@lists.php.net to get a copy of this message
Anyone knows if there's a way to set a javascript variable in the calling url. Like: http://www.www.com/index.htm?foo=bar in index.htm: <script language="javascript"> <!-- alert(foo) //--> </script> Should print "bar" Thanks Raphael

« previous php.general (#115543) next »