Online Shopping : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 3 people (33%) answered Yes
Recently 1 of 3 people (33%) answered Yes

Entry

how can I read the http request params of a url?

Apr 8th, 2008 19:20
ha mo, Dave Clark, hifni nazeer,


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hifni,
     If you mean the HTTP Request parms for the current document, they 
are available in this property:
self.location.search
     An example of what you'll find in that property is a delimited 
list of name/value pairs in the following format:
?name1=value1&name2=value2&name3=value3&...etc...
Take care,
Dave Clark
www.DaveClarkConsulting.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com