js
文章平均质量分 74
初出茅庐的小白
多看、多写、多想、多问、多分享、多优化、多运动.
展开
-
js时间戳转换成date类型
把时间戳转为为普通日期格式1.Date toLocaleString方法?functiongetLocalTime(nS) { returnnew Date(parseInt(nS) * 1000).toLocaleString().replace(/:\d{1,2}$/,' '); }pars原创 2016-12-22 11:07:54 · 7196 阅读 · 1 评论 -
前台提示框是否删除
@RequestMapping("removeArticle")public String remove(HttpServletRequest request,HttpServletResponse response,String id){long count = articleService.removeArticle(id);System.out.println(count);原创 2017-01-03 14:51:50 · 475 阅读 · 0 评论 -
Ajax请求中的async:false和async:true的差异
function test(){ var temp="00"; $.ajax({ async: false, type : "GET", url : 'userL_checkPhone.do', complete: function(msg){ alert('complete');转载 2016-12-26 20:44:28 · 955 阅读 · 0 评论