How to get the current URL in jQuery?

Posted by venkatachalam on Stack Overflow See other posts from Stack Overflow or by venkatachalam
Published on 2009-01-02T06:42:54Z Indexed on 2010/04/18 0:03 UTC
Read the original article Hit count: 262

Filed under:
|
|

I am using jQuery. I'd like to get the path of the current URL and assign it to a variable.

Example URL:

    http://localhost/menuname.de?foo=bar&number=0"

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about url