I have a string like this:
abc=foo&chk_seq%5B%5D=5&chk_seq%5B%5D=7&xyz=5
(it comes from ajaxOptions.data parameter from the ajaxComplete event)
How can I convert it into a javascript object like this:
obj = {
  abc: 'foo',
  chk_seq[]: 5,
  chk_seq[]: 7,
  xyz: 5
}
 
     
    