I'm working to understand jQuery with a pretty good knowledge of PHP.
I have a string like so:
[donor="company1" web="http://company1.com" amount="5.50"];[donor="company2" web="http://company2.com" amount="40.00"]
I am trying to achieve the answered result from this question.
Unfortunately, I have no idea how to turn my string into something like what the asker of the other question has to begin with, i.e.:
var data = [{'donor':'company1', 'web':'http://company1.com', 'amount':5.50},
{'donor':'company2', 'web':'http://company2.com', 'amount':40.00}]
Any help you can offer would be awesome. I assume it has something to do with map, associative array, object, but I am just not getting it.
Thanks in advance, I really appreciate it!