I have javascript object which i need to convert into string.
var obj = {"name": "XXX", "age": "27"};
After googling i have got JSON.stringify(obj);
JSON.stringify(obj);
is working fine if IE8 modes are same as below
Browser Mode : IE8
Documentn Mode: IE8 Standards
and the same code is not working If
Browser Mode : IE8
Documentn Mode: Quirks Mode
I am wondering why same thing is not working...
any idea will be appreciated.