Re: setting javascript variables on url

From: Date: Fri, 06 Sep 2002 19:21:29 +0000
Subject: Re: setting javascript variables on url
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115551@lists.php.net to get a copy of this message
Take that to the correct newsgroup. -- Nicos - CHAILLAN Nicolas nicos@php.net www.WorldAKT.com - Hébergement de sites Internet "Raphael Hamzagic" <raphael@tabuleiro.com> a écrit dans le message de news: 20020906190653.31627.qmail@pb1.pair.com... > 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 (#115551) next »