Friday, May 24, 2013

How to check if query string present on URL using jQuery?

document.location contains information about the URL, and contains the query string.
    // query string exists
    // no query string exists
You even don't require jQuery. You can do that using simple jQuery.

No comments:

Post a Comment