Few jquery errors , Attention J Query Gurus, invalid label
Attention J Query Gurus J Query gurus can you put some light on this matter please?
I am using J Query method for Ajax calls in my asp.net projects
In above I am using “datatype”Â as small characters, its working 100%Â for me in one projectÂ also i am not uisng “response.d” when I am using eval() method to convert it from json string to array. i was using var myObject= eval(â€œ(â€+ eval(response)+ â€œ)â€);
I creatd a second project and used same i.e (“datatype” as small characters) but it started throwing errors.
Then I switched back to proper syntax ie. “dataType” using “T” as caps and this line started throwing errors var myObject= eval(â€œ(â€+ eval(response)+ â€œ)â€);
“invalid label” after speding sometime i came to know that I need to use var myObject= eval(â€œ(â€+ response.d+ â€œ)â€); when i used response.d it started working.
Does anyone else experienced this type of problem in J query.