87,997
社区成员




$("#order > thead > tr > td > input ").click(function(){
if(this.checked)
{
//做if条件判断,如果是被选中的,那么.....
}
//或者
if($(this).attr("type")=="checkbox"&&$(this).attr("type").prop("checked"))
{
}
//请问这里能用this关键字来查询么,因为当前对象已经是这个input了
})
if($(input).attr("checked")==‘checked’){
alert(5);
}