JSREF

Window location.search

Return the querystring part of a URL: