上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 29 下一页
摘要: http://jingyan.baidu.com/article/380abd0a1fd86c1d90192c06.html 阅读全文
posted @ 2016-09-21 10:37 人生为卒 阅读(104) 评论(0) 推荐(0) 编辑
摘要: //自定义规则验证 $.validator.addMethod("onlycode", function (value, element, params) { var re = new RegExp(params); if ($.trim(value).length < 0 || $.trim(value) == "") ... 阅读全文
posted @ 2016-09-18 10:18 人生为卒 阅读(182) 评论(0) 推荐(0) 编辑
摘要: //获取类【OflSchApplyVM】的所有属性 PropertyInfo[] _PropertyInfo = typeof(OflSchApplyVM).GetProperties(); //对应属性 PropertyInfo _pro = null; ... 阅读全文
posted @ 2016-09-02 16:01 人生为卒 阅读(797) 评论(0) 推荐(0) 编辑
摘要: <input id="year3" class="wid50" onkeyup=" if (this.value.length == 1) { this.value = this.value.replace(/[^1-9]/g, '') } else { this.value = this.valu 阅读全文
posted @ 2016-08-31 16:23 人生为卒 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 创建服务并安装: http://jingyan.baidu.com/article/fa4125acb71a8628ac709226.html 批处理文件制作: http://jingyan.baidu.com/album/39810a23d17c8fb636fda6ca.html?picindex 阅读全文
posted @ 2016-08-12 16:45 人生为卒 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Newtonsoft.Json.dll 阅读全文
posted @ 2016-08-11 17:11 人生为卒 阅读(103) 评论(0) 推荐(0) 编辑
摘要: string strcode = "汉字汉字汉字"; byte[] buffer = Encoding.UTF8.GetBytes(strcode); string msg = Encoding.UTF8.GetString(buffer, 0, buffer.Length); 阅读全文
posted @ 2016-08-10 17:12 人生为卒 阅读(550) 评论(0) 推荐(0) 编辑
摘要: $('#com').combobox('getValue')获取当前选中的值$('#com').combobox('getText')获取当前选中的文字 阅读全文
posted @ 2016-08-08 10:58 人生为卒 阅读(814) 评论(0) 推荐(0) 编辑
摘要: 每一次操作select的时候,总是要出来翻一下资料,不如自己总结一下,以后就翻这里了。 比如<select class="selector"></select> 1、设置value为pxx的项选中 $(".selector").val("pxx"); 2、设置text为pxx的项选中 $(".sel 阅读全文
posted @ 2016-08-05 16:31 人生为卒 阅读(140) 评论(0) 推荐(0) 编辑
摘要: js 给文本框赋值:<script>//js赋值方法:document.getElementById("txt1").value="abcd";//jquery赋值方法$("#txt1").val("你需要赋的值");</script><input type="text" id="txt1" val 阅读全文
posted @ 2016-08-05 15:10 人生为卒 阅读(3756) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 29 下一页