Hi to all I'm beginner in asp.net I have following Json in my aspx page :
{
{
"Status":"<%= this._result.ToString().ToLower() %>" ,
"SavePath":"<%= this.FileUrl%>" ,
"FileName":"<%= this.Request["qqfile"] %>",
"SizeError":"<%= this._sizeError.ToString().ToLower()%>",
"ImgValidation":"<%=this._Imgvalid.ToString().ToLower()%>"
}
}
I need use the json in JS file like blow:
if (responseJSON.Status == 'false') {
$.pushMessage({
message: 'خطا در بارگزاری اطلاعات!',
messageClass: 'loader-message',
delay: 3500
});
return;
}
else {
$(options.imgPath).attr("value", responseJSON.SavePath);
$(options.imgName).html(responseJSON.FileName);
}
How can I use the json Tanks