我使用Jquery来调用Ajax.服务器返回值为"true或false"的Json对象,如下所示:
return Json(new { success = false, JsonRequestBehavior.AllowGet });
如果服务器返回true,有没有办法在5秒后刷新页面?
ajax jquery
ajax ×1
jquery ×1