Saturday, July 7, 2012

Javascript: Convert Object to String

Use the JSON.stringify function i.e.

JSON.stringify(obj);

Note: Does not work on IE6 and 7

No comments:

Post a Comment