2017年3月2日

google中select添加onclick

摘要: 有下拉跳转框如下所示: <select name="page" size="1" > <option onclick="refurbish(1)" selected="selected">第1页</option> <option onclick="refurbish(2)">第2页</option> 阅读全文

posted @ 2017-03-02 09:53 牛奶糖13号 阅读(239) 评论(0) 推荐(0) 编辑

2017年2月24日

js中的时间显示

摘要: var approveTime; approveTime=new Date(da[i].approveTime).toLocaleDateString(); 结果是 xxxx年xx月xx日 阅读全文

posted @ 2017-02-24 11:17 牛奶糖13号 阅读(130) 评论(0) 推荐(0) 编辑

2017年2月17日

ie浏览器中时间转换

摘要: var begintime = $("#start").val(); var lastLoginTimeStart =new Date(begintime).getTime();//转换成毫秒 但是ie浏览器中有个特殊的情况就是ie中时间格式固定是YYYY/MM/DD hh:mm:ss如果变成YYY 阅读全文

posted @ 2017-02-17 18:17 牛奶糖13号 阅读(346) 评论(0) 推荐(0) 编辑

2017年1月13日

eclipse代码格式化

摘要: <?xml version="1.0" encoding="UTF-8" standalone="no"?><profiles version="12"><profile kind="CodeFormatterProfile" name="xnjc" version="12"><setting id 阅读全文

posted @ 2017-01-13 14:30 牛奶糖13号 阅读(196) 评论(0) 推荐(0) 编辑

CachedRowSet的用法

摘要: String sql="select item_code from xt_dictionary_item where type_id='32' and parent_itemid='0' order by view_index"; Delegate dg=new Delegate(""); Cach 阅读全文

posted @ 2017-01-13 14:07 牛奶糖13号 阅读(672) 评论(0) 推荐(0) 编辑

关于System.currentTimeMillis()

摘要: 一、时间的单位转换 1秒=1000毫秒(ms) 1毫秒=1/1,000秒(s)1秒=1,000,000 微秒(μs) 1微秒=1/1,000,000秒(s)1秒=1,000,000,000 纳秒(ns) 1纳秒=1/1,000,000,000秒(s)1秒=1,000,000,000,000 皮秒(p 阅读全文

posted @ 2017-01-13 10:04 牛奶糖13号 阅读(350) 评论(0) 推荐(0) 编辑

2016年12月26日

eclipse保存时自动格式化代码和优化导包

摘要: 阅读全文

posted @ 2016-12-26 21:17 牛奶糖13号 阅读(549) 评论(0) 推荐(0) 编辑

2016年12月25日

jpa

摘要: http://www.cnblogs.com/xingqi/p/3929386.html 阅读全文

posted @ 2016-12-25 19:08 牛奶糖13号 阅读(107) 评论(0) 推荐(0) 编辑

2016年12月24日

java登录密码效验

摘要: 密码校验需求: 1) 密码控制只能输入字母、数字、特殊符号(~!@#$%^&*()_+[]{}|\;:'",./<>?)2) 长度 6-16 位,必须包括字母、数字、特殊符号中的2种3) 密码不能包含用户名信息 判断密码是否包含数字:包含返回1,不包含返回0int i = newPwd.matche 阅读全文

posted @ 2016-12-24 10:21 牛奶糖13号 阅读(643) 评论(0) 推荐(0) 编辑

2016年12月23日

设置注释格式

摘要: 阅读全文

posted @ 2016-12-23 22:38 牛奶糖13号 阅读(284) 评论(0) 推荐(0) 编辑

导航