$(elem).attr('checked')只是设置复选框最初的值,并且也不会随着复选框状态的改变而改变,并且得到的值是string类型喔。 在html中的设置为checked=" ...
確定! 回上一頁