Author: Neno | Posted on: 9/22/2009 11:59:09 AM | Views : 497

Hi,
the following jquery's ajax call successfully hits the page method which returns something like:
{[{"Name":"tutu","KJU":"rutu","NumberMDK":"64646"}]}
However, the jquery does not recognize it..
In my opinion, the problem is the var myObject = eval... line in the code below.
Any advice?
$.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "ControlMDK.aspx/findMDK", data: "{name:'" + name + "'}", dataType: "jsondata", success: function(msg) { var myObject = eval('(' + msg.d + ')'); ...

Go to the complete details ...