Say I have http://www.mysite.com/index.php?=332
Is it possible to retrieve the string after ?=
using jQuery? I've been looking around Google only to find a lot of Ajax and URL vars information which doesn't seem to give me any idea.
if (url.indexOf("?=") > 0) {
alert('do this');
}