I am using the JSON object with jquery in asp.net application. The code is working with VS2008 but when i moved sam code in VS2003 then it is showing the JSON is undefined. Code is following
var mes = $('#filePath').val();
alert("File Path: " + mes);
var jsonText = JSON.stringify({ sFilePath: mes });
In third line it is giving the error : Microsoft JScript runtime error: 'JSON' is undefined
Can any one help on this. Do i need to add any reference.
Thanks in Advance Eshwer N