passer1991

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 39 下一页

2013年9月20日

回车与换行的区别

摘要: http://www.cnblogs.com/clarkchen/archive/2011/06/02/2068609.html 阅读全文

posted @ 2013-09-20 10:54 passer1991 阅读(91) 评论(0) 推荐(0) 编辑

2013年9月18日

checkbox赋值

摘要: onclick="this.value=(this.checked?1:0)" 阅读全文

posted @ 2013-09-18 17:16 passer1991 阅读(168) 评论(0) 推荐(0) 编辑

2013年9月17日

验证input和textarea的输入是否有效,也就是不为空,也不都是空格

摘要: function validateTxt(v) { if(v) { v=$.trim(v); if(v==''||v==null) { return false; } }else{ return false; } return true; } 阅读全文

posted @ 2013-09-17 18:08 passer1991 阅读(159) 评论(0) 推荐(0) 编辑

2013年9月11日

hibernate uuid主键生成模式

摘要: 在id字段上加上 @Id @GeneratedValue(generator = "uuidGenerator") @GenericGenerator(name = "uuidGenerator", strategy = "uuid") 阅读全文

posted @ 2013-09-11 22:17 passer1991 阅读(132) 评论(0) 推荐(0) 编辑

easyui 像狗屎一样的框架 layout panel href 重新赋值后,导致页面弹出的对话框可能是之前panel中的对话框内容

摘要: 在给dialog设置完shadow="false" modal="false" inline="true"之后,页面就不会一直增加垃圾代码了,像我只能说 这再一次证明了easyui是像狗屎一样的框架,连默认值也设置的像狗屎一样. 阅读全文

posted @ 2013-09-11 15:39 passer1991 阅读(372) 评论(0) 推荐(0) 编辑

2013年9月10日

jquery为动态添加的元素绑定事件

摘要: 经测试 live,on 方法都不起作用.delegate方法是可以的.举例如下: $("#rightBox,#leftBox").delegate("p","click",function(){ if($(this).hasClass("selected1")) { $(this).removeClass("selected1"); console.log("right"); }else { $(this... 阅读全文

posted @ 2013-09-10 11:37 passer1991 阅读(156) 评论(0) 推荐(0) 编辑

2013年9月7日

easyui 像狗屎一样的框架 怎么设置datetimebox的值为当前时间, 怎么情况datetimebox的值

摘要: $('#dsdxsjBox1').datetimebox('setValue', '9999');可以将其设置为当前时间 $('#dsdxsjBox1').datetimebox('setValue', '');可以将其时间清空 阅读全文

posted @ 2013-09-07 16:55 passer1991 阅读(1897) 评论(0) 推荐(0) 编辑

2013年9月5日

如何根据event.target得到标签元素的名字

摘要: var localName=$(event.target)[0].localName;当然可能不用jquery也可以得到,但是我没有测试! 阅读全文

posted @ 2013-09-05 11:11 passer1991 阅读(672) 评论(0) 推荐(0) 编辑

2013年9月3日

Spring3 MVC 深入研究 几乎涵盖了spring3 mvc 常用的知识

摘要: http://www.cnblogs.com/chenying99/archive/2012/03/06/2381227.html非常好! 阅读全文

posted @ 2013-09-03 21:35 passer1991 阅读(105) 评论(0) 推荐(0) 编辑

QQ数据线传输到手机上的文件放到了哪里

摘要: sd根目录下Tencent/QQfile_recv下的。 阅读全文

posted @ 2013-09-03 09:27 passer1991 阅读(488) 评论(0) 推荐(1) 编辑

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 39 下一页

导航