Possible Duplicates:
JavaScript query string
get querystring with jQuery
Is there an object/method in javascript to turn a string like this: "param1=2¶m2=1¶m3=5" into some sort of dictionary, so that I can refer to each element as mystring['param1'] or mystring[0]?
Can jQuery help here?