02 2016 档案
摘要:indexOf()match()replace() search()slice()split()substr()substring()..... stringObject.replace(regexp/substr,replacement)
阅读全文
摘要:该方法有三个api接口参数,name,method,messages addMethod(name,method,message)方法 参数 name 是添加的方法的名字。 参数 method 是一个函数,接收三个参数 (value,element,param) 。value 是元素的值,eleme
阅读全文
摘要:一、默认情况,当属性值为布尔值类型的时候对比判断不用加引号<input type="radio" name="city" value="BeiJing"> $("input").attr("checked")== true; 二、如果是自定义属性,属性值为字符串的true/false,对比判断需要对
阅读全文

浙公网安备 33010602011771号