摘要:
鉴于经常有人被该贴误导,所以重新更新一下checkbox选中判断:jquery官网是这么写的:$( elem ).attr( "checked" ) (1.6) "checked" (String) Initial state of the checkbox; does not change$( elem ).attr( "checked" ) (1.6.1+) "checked" (String) Will change with checkbox state$( elem ).attr( "check 阅读全文