Saturday, October 17, 2009

[jQuery] Get parameters from URL

Hi every:
It's possible to get values from URL with jQuery like PHP? For example
suppose you have this URL: form.html?s=ok&val=rperezm. In PHP is simple:
[code]
echo $_GET['s']; // return ok
echo $_GET['val']; // return rperezm
But I don't know if this is possible in Javascript and also with jQuery.
Can any body guide me on this?
Cheers and thanks in advance
--
ReynierPM

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate