While working with JSON data in an ajax call, I was using the JSON.stringify and JSON.parse methods. Everything was working good in Chrome and Firefox but, as usual, it wasn't in IE. :( Then found this json2.js file that allows JSON.parse and JSON.stringify to work in any browser i.e. it has a global JSON object that has these two methods - stringify and prase implemented :) All, I had to do was just include this js file and that is it. It started working :)
No comments:
Post a Comment