I have a type string a=6&id=99(I can save it in html as "a = 6 & id = 99", but this is not what js will see). I would like to convert this string to an object so that I can execute func (oa); or o.id = 44; How to do it?
Part 2: How to convert this object back to the query string? it will probably be trivial code that I can write.
user34537
source
share