[thelist] help request: accessing url vars in javascript

Tom Dell'Aringa pixelmech at yahoo.com
Tue Mar 4 07:59:00 CST 2003


/elvelind wrote
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> to be precise it should be &amp;
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

No, I don't believe that is the case. "&" is what he needs, unless
you are talking about the character in the actual HTML. If you are
writing it out in a php string or something, you should use the
actual character &. ie. myurl.com?hello=hi&hello=hithere. You don't
want hello=hi&amphello=hithere OR, your second key will be 'amphello'
not 'hello'.

--- Scott Harman <scott at enteractiontv.com> wrote:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> I'm a dork!  Thanks Tom, will give that a blast!
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Um, Scott, the only reason I caught that so quickly is because *I*
have done it too! ;)

Tom

=====
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
http://www.pixelmech.com/
var me = tom.pixelmech.webDeveloper();

http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the thelist mailing list