meng境
2015-12-27 21:41
这个例子用jQuery怎么写呀
<script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
$(function(){
//绑定点击删除按钮回调函数
$("#del").on('click',function(){
$("#table tr input").each(function(index,element){
console.log(index);
console.log($(this).is(":checked"));
if($(this).is(":checked"))
{
$(this).parent().parent().remove();
}
})
});
});
</script>用JS实现购物车特效
43233 学习 · 176 问题
相似问题