摘要:
//动物类 function Animal() { this.species = 'animal'; this.sleep = function() { alert(this.species); } } //猫类 function cat1(name, color) { Animal.apply(this); //apply(),call();实现cat1继承Animal this.name = name; this.color = color; this.show = func... 阅读全文
阅读排行榜
c# 正则表达式
2013-04-18 14:36 by Evan.Pei, 150 阅读, 收藏,
摘要:
"^\d+$" //非负整数(正整数 + 0)"^[0-9]*[1-9][0-9]*$" //正整数"^((-\d+)|(0+))$" //非正整数(负整数 + 0)"^-[0-9]*[1-9][0-9]*$" //负整数"^-?\d+$" //整数"^\d+(\.\d+)?$" //非负浮点数(正浮点数 + 0)"^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]* 阅读全文
MVC特性
2018-12-11 16:25 by Evan.Pei, 147 阅读, 收藏,
摘要:
https://www.cnblogs.com/dotnet261010/p/10909527.html MVC的一些特性,如下: BindAttribute(限制实体属性) RemoteAttribute(远程验证,需要页面使用jquery.validate.js和jquery.validate. 阅读全文
JqueryUI
2015-02-10 15:44 by Evan.Pei, 143 阅读, 收藏,
摘要:
///////////////////JqueryUIhttp://www.ziqiangxuetang.com/jqueryui/example-selectable.html---学习地址1.jQueryUI是以jQuery为基础的开源JavaScript网页用户界面代码库,包含底层用户交互、动... 阅读全文
浙公网安备 33010602011771号