I have a string like a=6&id=99
(i might store it in html as 'a=6&id=99' however thats not what js will see). I would like to convert that string into an object so i can do func(o.a); or o.id=44; How do i do that?
Part 2: How do i convert that object back to a query string? it would probably be trivial code that i can write.