The google shows several implementations:

http://www.mathias-bank.de/2007/04/21/jquery-plugin-geturlparam-version-2/
http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html
http://projects.allmarkedup.com/jquery_url_parser/

On Sat, Oct 17, 2009 at 10:41 AM, ReynierPM <rper...@uci.cu> wrote:
>
> 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
>

Reply via email to