遇到操作checkbox的问题全选 $("input[type='checkbox']").each(function(){ this.checked=true })反选 $("input[type='checkbox']").each(function(){ if(this.checked){ this.checked=false } else{ this.checked=true }理论上是应该可以用$(obj).attr("checked",true)来操作恶但是在ie下正常,在firfox下反选 Read More
posted @ 2012-04-13 23:29 break_happy Views(2619) Comments(0) Diggs(2)