上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 54 下一页
摘要: Index 阅读全文
posted @ 2016-06-06 22:42 君子笑而不语 阅读(138) 评论(0) 推荐(0) 编辑
摘要: //时间转成年月日时分秒select date_format(now(),'%Y%m%d%H%i%S')//时间转成年月日select date_format(now(),'%Y%m%d')//去年此时select DATE_ADD(now(), Interval -1 year)//上月此时sel 阅读全文
posted @ 2016-05-24 22:45 君子笑而不语 阅读(14754) 评论(0) 推荐(0) 编辑
摘要: 1.获取上条插入数据 LAST_INSERT_ID(); 2.获取update影响行数。 ROW_COUNT(); 阅读全文
posted @ 2016-05-23 18:24 君子笑而不语 阅读(2292) 评论(0) 推荐(0) 编辑
摘要: 查看时间格式: echo %date% echo %time% 通过%date:~5,2%来组合得出当前日期,组合的效果为yyyymmdd,date命令得到的日期格式默认为yyyy-mm-dd,通过%date:~5,2%即可得到日期中的第五个字符开始的两个字符, 例如今天为2009-02-05,通过 阅读全文
posted @ 2016-05-11 21:09 君子笑而不语 阅读(1508) 评论(0) 推荐(0) 编辑
摘要: (1) 先说jquery, 使用 jQuery 库的话,只需要同时绑定 oninput 和 onpropertychange 两个事件就可以了,示例代码: $('#username').bind('input propertychange', function() { $('#content').h 阅读全文
posted @ 2016-05-11 14:32 君子笑而不语 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 第一种:button.onclick = Function("alert('hello');"); 第二种:button.onclick = function(){alert("hello"); }; 第三种:button.onclick = myAlert; function myAlert(){ 阅读全文
posted @ 2016-05-04 22:43 君子笑而不语 阅读(7319) 评论(0) 推荐(0) 编辑
摘要: 1.只能输入和粘贴汉字 <input onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').rep 阅读全文
posted @ 2016-04-23 16:27 君子笑而不语 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 图文详解如何在VMware Workstation11虚拟机上安装黑苹果Mac OS X 10.10系统-网络教程与技术 -亦是美网络 http://www.yishimei.cn/network/577.html 阅读全文
posted @ 2016-04-22 11:04 君子笑而不语 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 传送门 http://www.blogjava.net/sxyx2008/archive/2009/11/24/303497.html set @count = (SELECT count(1) from t_b_cardgroup WHERE t_u_user_id=126); DROP PROC 阅读全文
posted @ 2016-02-29 16:25 君子笑而不语 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 颜色明淡http://www.colorschemer.com/online.html2.http://tool.cc/color/ 阅读全文
posted @ 2016-01-20 17:28 君子笑而不语 阅读(321) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 54 下一页