c# - How to analyze Json data which is returned by WCF service in HTML using AJAX? -



c# - How to analyze Json data which is returned by WCF service in HTML using AJAX? -

anyone can help me on how info details json model? using wcf service homecoming json type data. runs sure because seek webclient. want show info in html site. using next code, nil help. success: function (msg) {

var result = eval("("+msg+")"); $.each(result.userloginresult.d,function(i,item){ alert(item.name); });

it wound me, know. beg help here, search google hours, no 1 illustration can help me. :(.

thank all. finally, found problem , prepare it. jquery homecoming json object not string, needn't eval() @ all. utilize msg.d[index][index]!

happy coding, rocky

c# html ajax json wcf

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -