js
文章平均质量分 52
jdkleo
这个作者很懒,什么都没留下…
展开
-
jquery扩展select控件支持enter或focus选择
/****************************************************************************************************************************** * @ author jdkleo * @ date 2013/2/27 JQuery SelKeys USAGE:...原创 2013-02-27 13:07:28 · 144 阅读 · 0 评论 -
纯JS progressBar简单模拟
效果图片,兼容IE FireFox Chrome progressbar.html <html> <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> <head> <title>bar</title> &l原创 2013-08-29 09:03:13 · 460 阅读 · 0 评论 -
div偏移量控制,贪吃蛇游戏实现
兼容IE10 FIREFOX CHROME 效果见下图 tcs.html <html> <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> <head> <title>贪吃蛇</title> <sty原创 2013-08-31 14:35:14 · 119 阅读 · 0 评论 -
MongoDB日志logappend方式以每天为单位自动切割日志解决方案
RHEL 6.4 X86_64 一、编写logAppend.js use admin; db.runCommand({logRotate:1}); 二、编写logAppend.sh /save/mongodb-linux-x86_64-2.6.0/bin/mongo 127.0.0.1:27017/admin /save/mongodb/shell/logAppend.js 三、权...原创 2015-03-31 16:53:21 · 1121 阅读 · 0 评论 -
shiro对于ajax请求超时的拦截客户端最简单配置方法
$.ajaxSetup({ complete:function(XMLHttpRequest,textStatus){ if(textStatus=="parsererror"){ alert('登录超时,请重新登录后再试'); window.location.href = basePath+'login...原创 2015-12-22 15:39:57 · 258 阅读 · 0 评论 -
Js时间加减函数
/** * 时间加减 * @param date - 时间格式支持yyyy-MM-dd HH:mm:ss | yyyy/MM/dd HH:mm:ss * @param type - 类型:h-小时加减 m-分钟加减 s-秒加减 mi-毫秒加减 * @param number - 加减的数值,负数表示减 * @return dateCa...原创 2017-01-14 22:52:55 · 1904 阅读 · 0 评论 -
前端三大框架
react vue angular 传送门:http://blog.csdn.net/haoshidai/article/details/52346865原创 2017-02-21 13:46:06 · 236 阅读 · 0 评论