JS&Jquery的一些常用操作 备忘
摘要:字符串截取:substr()substring()slice()字符串分割、合并及查找split()concat()indexOf()charAt()replace()search()字符串大小写转换toLowerCase()toUpperCase()Jquery Checkbox选中判断: 1: jQuery(‘input[@name=checkbox1][@checked]’).each(funcion(){ 2: if($(this).attr("checked")==true){ 3: //TODO: 4: } 5: }) 6: ...
阅读全文
posted @ 2011-09-25 23:50

浙公网安备 33010602011771号