
ajax
dongsdh
少熬夜,多运动,记得笑
展开
-
ajax-超时
$.ajax({ type: "get", url: "page.json", timeout : 1, //超时时间设置,单位毫秒 contentType: "application/json", async: true...原创 2018-06-04 15:02:25 · 968 阅读 · 0 评论 -
ajax返回的值为null或undefined在页面显示未“无”
<td>'+(sd.name==null?'无':sd.name)+'</td>避免在页面上显示null或undefined原创 2018-12-28 23:21:29 · 1565 阅读 · 0 评论