I am trying to split an AJAX response with .split() in IE 7 and i am just getting Object doesn’t support this property or method, I am using the following code:
info = data.split(“&”);
Where data = 1&2&3&4
If I run on console ‘1&2&3&4’.split(); it works just fine.
Any ideas?
Thanks!!
UPDATE
Thanks a lot, I just figured it out, the porblem was info wasn’t defined as string.
It’s not a method of the object. Convert to a string first.