[thelist] JavaScript and GET name value pairs

.jeff jeff at members.evolt.org
Wed Dec 18 14:08:01 CST 2002


> From: Tom Dell'Aringa
> I have a need to pull some GET name/value pairs using JS
> (long story, I have no choice). I've been struggling
> with some code I found on the net and wondered if anyone
> here has done this.

i see you've gotten lots of code samples to help with this, but i thought
i'd add mine into the mix because i originally wrote it as an alternative to
all the bulky or inflexible code samples to accomplish the same task.


you would reference the url variables from your example like this:

url.food or url['food']
url.drink or url['drink']



jeff at members.evolt.org

More information about the thelist mailing list