I want to read 2 values passed as a query string which means the values passed after the ? sign. I'm able to read one as follows
ex:if the url is the followong will alert smily
var varName=location.search.substr(1)
alert(varName)
but dunno how to read 2 or more.
ex:
how do i read happy
Please help
ex:if the url is the followong will alert smily
var varName=location.search.substr(1)
alert(varName)
but dunno how to read 2 or more.
ex:
how do i read happy
Please help