晨风

-------------------- 业精于勤,荒于嬉;行成于思,毁于随

导航

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 28 下一页

2016年3月1日

摘要: var r = /^\+?[1-9][0-9]*$/; //判断正整数 r.test(str); 阅读全文

posted @ 2016-03-01 14:46 shenyixin 阅读(643) 评论(0) 推荐(0) 编辑

2016年2月29日

摘要: <input type="text" style="border:0px;background-color:transparent;outline:none;"> 阅读全文

posted @ 2016-02-29 16:49 shenyixin 阅读(293) 评论(0) 推荐(0) 编辑

2016年2月19日

摘要: 添加js引用:jsonsql-0.1.js 通过下面列子得到一个json类型的结果 Example: jsonsql.query("select * from json.channel.items order by title desc",json); jsonsql.query("select t 阅读全文

posted @ 2016-02-19 17:29 shenyixin 阅读(1599) 评论(0) 推荐(0) 编辑

2016年2月4日

摘要: select convert(varchar(7),dateadd(month,number,'2010-01-01'),120) from master..spt_values where type='P' and dateadd(month,number,'2010-01-01')<='2010 阅读全文

posted @ 2016-02-04 09:22 shenyixin 阅读(1837) 评论(0) 推荐(0) 编辑

2016年2月2日

摘要: 一般我们针对webkit内核的,都使用-webkit-appearance来控制一些表单元素。 但是IE10如何来控制呢? select::-ms-expand{display:none;} 阅读全文

posted @ 2016-02-02 18:29 shenyixin 阅读(453) 评论(0) 推荐(0) 编辑

2015年12月17日

摘要: 1. 如何实现一个控件,根据不同的情况,实现不同的控制?2. 一个页面上我有几个tab页,如何实现每个Tab页上的控件单独校验?3. 我采用的页面上文字问题的方式,点提交的时候,有校验未通过的,除了文字提示外,还可以再弹出窗口提示吗?4. 所有校验通过后,我还要再做别的判断可以吗?我自己的判断没有通... 阅读全文

posted @ 2015-12-17 16:12 shenyixin 阅读(1500) 评论(0) 推荐(0) 编辑

2015年12月11日

摘要: 解决办法:选择Database -> Edit Current DBMS,弹出DBMS Properties,按下图高亮选择,修改Value的值,把默认的长度改长一点就解决问题。 阅读全文

posted @ 2015-12-11 14:46 shenyixin 阅读(252) 评论(0) 推荐(0) 编辑

2015年12月9日

摘要: 复制到→Excel列表的内容复制到textarea中后,前台取到的文本是这样的:chrome监视显示console.log输出现在需要将excel中的每行数据拼接起来用“;”隔开,方法如下:data.replace(/\n/g, ';');replace 的第一个参数可以是正则表达式,默认值替换第一... 阅读全文

posted @ 2015-12-09 10:28 shenyixin 阅读(1219) 评论(0) 推荐(0) 编辑

2015年11月24日

摘要: area的默认页:1 routes.MapRoute(2 name: "MyArea",3 url: "{controller}/{action}/{id}",4 defaults: new { controller = "Home", action = "... 阅读全文

posted @ 2015-11-24 14:08 shenyixin 阅读(346) 评论(0) 推荐(0) 编辑

2015年10月28日

摘要: public static String getRandomString(int length) { //length表示生成字符串的长度 String base = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789... 阅读全文

posted @ 2015-10-28 18:18 shenyixin 阅读(268) 评论(1) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 28 下一页