![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
lstingou
逝者如斯夫,不舍昼夜
展开
-
AJAX return false失效问题
var alertStatus = false; $.ajax({ type : "GET", url : url, dataType : "json", async: false, data : {}, success : function(data) { console.log("success"); var undef = undefined; ...原创 2019-01-21 16:12:49 · 280 阅读 · 0 评论 -
JavaScript 实时获取并显示系统时间
window.setInterval("realSysTime(date)",1000); //实时获取并显示系统时间 //显示当前日期 function realSysTime(clock){ var now=new Date(); //创建Date对象 var year=now.getFullYear(); //获取年份 var month=now.getMonth(); //获取...原创 2019-02-11 15:55:51 · 272 阅读 · 0 评论