Jquery1.4.1和1.7.1中对于checkbox的checked属性的不同
在1.4.1中,如果checkbox的状态为选中,则attr("checked")的值为true,反之为false
但是在1.7.1中,checkbox的选中状态的attr("checked")的值为checked,非选中状态的值为undefined
在1.4.1中,如果checkbox的状态为选中,则attr("checked")的值为true,反之为false
但是在1.7.1中,checkbox的选中状态的attr("checked")的值为checked,非选中状态的值为undefined