Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
134
rated 0 times [  137] [ 3]  / answers: 1 / hits: 52880  / 14 Years ago, mon, july 12, 2010, 12:00:00

Is it possible using jquery (or just javascript) to check for the existence of a query string on the URL?


More From » jquery

 Answers
15

Yes, the location object has a property search that contains the query string.



alert(window.location.search);

[#96258] Friday, July 9, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quinn

Total Points: 160
Total Questions: 86
Total Answers: 101

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
quinn questions
;