[PHP] Re: setting javascript variables on url

2002-09-06 Thread Mark McCulligh
Use the JavaScript object "Location" Example: URL: http://www.www.com/index.htm?foo=bar location.search; returns ?foo=bar Then use the JavaScript object "String" to search the string and exact the value. Use the method: indexOf( ) to search the string for the character "=" Then use the m

[PHP] Re: setting javascript variables on url

2002-09-06 Thread nicos
Take that to the correct newsgroup. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Raphael Hamzagic" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Anyone knows if there's a way to set a javascript variable in the callin