tutsdot.blogspot.com - document.location contains information about the URL, and document.location.search contains the query string.
if(document.location.search.length) { // query string exists } else { // no query string exists }You even don't require jQuery. You can do that using simple jQuery.
other source : http://developer-paradize.blogspot.com, http://google.com, http://detik.com
0 Response to "How to check if query string present on URL using jQuery? - Javascript"
Post a Comment