I need to get the search query from the search query of the address of the page.
What is the safest cross-browser, and most efficient method of getting the string. for example:
q=123&data=true&b=456
//from
http://www.example.com/?q=123&data=true&b=456
And is location.search
available on all modern browsers (IE7+, FF, webkit, opera)?