suifing

对于checkbox,若要选中,需要用jquery的prop()方法,不要用attr()。

<input type="checkbox" id="slide_check_1" class="slideset-check"/></th>

 

$("#slide_check_" + i).prop("checked", true); 

分类:

技术点:

相关文章: