jQuery checkbox event handling

后端 未结 7 845
借酒劲吻你
借酒劲吻你 2020-11-29 16:30

I have the following:

7条回答
  •  抹茶落季
    2020-11-29 16:54

    $('#myform input:checkbox').click(
     function(e){
       alert($(this).is(':checked'))
     }
    )
    

提交回复
热议问题