user13286 user13286 - 1 year ago 95
Javascript Question

Getting full URL with jQuery including parameters after question mark?

I am trying to use jQuery to get the current full URL of a page. The URL of a page looks like this:

If I use

it only returns everything before the ? so I would just get

How can I get the entire URL?

Answer Source

You have:


and also:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download