09 2016 档案
摘要://清空表单 $('#SearchForm').form('clear'); var fdate = (new Date().getFullYear()) + "-" + (new Date().getMonth() + 1) + "-" + (new Date().getDate() - 7);
阅读全文
摘要:[HttpGet] controller方法前面加上 效率比post高,但是http请求有长度限制,不同浏览器处理不一样(如下) 各浏览器HTTP Get请求URL最大长度并不相同,几类常用浏览器最大长度及超过最大长度后提交情况如下: IE6.0 :url最大长度2083个字符,超过最大长度后无法提
阅读全文
摘要:Html TODO: html中@和@:的作用 @if (RoleOperate.IsOperateType(ViewBag.RoleInfo, EnumOperateType.Delete) ) { //已报价则不能删除 @:if (row.State != 1) { @:operation +=
阅读全文
摘要:http://jingyan.baidu.com/article/380abd0a1fd86c1d90192c06.html
阅读全文
摘要://自定义规则验证 $.validator.addMethod("onlycode", function (value, element, params) { var re = new RegExp(params); if ($.trim(value).length < 0 || $.trim(value) == "") ...
阅读全文
摘要://获取类【OflSchApplyVM】的所有属性 PropertyInfo[] _PropertyInfo = typeof(OflSchApplyVM).GetProperties(); //对应属性 PropertyInfo _pro = null; ...
阅读全文