首先是nameplace的版本问题
spring:
mvc:
全选全不选:
$(function(){
//全选,全不选
console.log($(".form-check-input").length);
$("#ckAll").click(function() {
$(".form-check-input").prop("checked",$(this).prop("checked"));
});
//选上所有checkbox后全选框被选中
$(".form-check-input").click(function () {
if ($(".form-check-input").length == $(".form-check-input:checked").length) {
$("#ckAll").prop("checked", true);
} else {
$("#ckAll").prop("checked", false);
}
});
})
show:
${list.id}
${list.username}
${list.balance}
junit
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations="classpath:applicationContext.xml")
tx:



