摘要: 1设置第一个checkbox 为选中值$('input:checkbox:first').attr("checked",'checked');或者$('input:checkbox').eq(0).attr("checked",'true'); 2、设置最后一个checkbox为选中值$('inpu 阅读全文