Eval response.d in Jquery Ajax
Posted
by gnomixa
on Stack Overflow
See other posts from Stack Overflow
or by gnomixa
Published on 2010-05-14T21:53:16Z
Indexed on
2010/05/14
22:04 UTC
Read the original article
Hit count: 368
What is the point of doing this:
var resultsArray = (typeof response.d) == 'string'
? eval('(' + response.d + ')') : response.d;
inside onSuccess() callback of $.(ajax) call?
© Stack Overflow or respective owner