Sorry, I am new at this, so bear with me.
In JavaScript, how can I get the contents of the url after the question mark?
So in this url:
http://www.example.com/index.html#anchor?param1=value1¶m2=value2
I want an array of values:
{'param1' : 'value1', 'param2' : 'value2'}
Is there a function for doing this in javascript?