刘建广

博客园 首页 联系 订阅 管理

04 2015 档案

摘要:javascript 禁止backspace返回上一级$(document).keydown(function(e){ vartarget=e.target; vartag=e.target.tagName.toUpperCase(); if(e.keyCode==8){ if((tag... 阅读全文
posted @ 2015-04-22 14:42 刘建广 阅读(321) 评论(0) 推荐(0)

摘要:mybaitis SqlMap:配置: 阅读全文
posted @ 2015-04-22 14:34 刘建广 阅读(245) 评论(0) 推荐(0)

摘要://判断一个值是否在指定数据中var arr = Array(1,2,3,4,5);alert(in_array("5",in_array));functionin_array(search,array){ for(variinarray){ if(array[i]==search){ ... 阅读全文
posted @ 2015-04-22 14:25 刘建广 阅读(600) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2015-04-22 14:19 刘建广 阅读(2791) 评论(0) 推荐(1)

摘要:JavaScript获取当前时间戳:方法1:var timestamp = date.parse(new date());结果:1280977330000方法2:var timestamp = (new date()).valueof();结果:1280977330748方法3:var timest... 阅读全文
posted @ 2015-04-22 14:11 刘建广 阅读(1611) 评论(0) 推荐(0)