New in JS, How do I check if one of my querystring has a value?
Example: I have result.aspx?loc=3. How do I check this in javascript if my querystring loc has a value. I need to do this because I will use $(‘#target’).css({‘display’:’none’}); to a certain div
try
location.searchand can be called like so:
http://www.w3schools.com/jsref/prop_loc_search.asp