check uncheck All checkboxes with another single checkbox use jquery

后端 未结 10 540
长情又很酷
长情又很酷 2020-12-03 05:14

I use jquery-1.9.1.js In my html page, it works well for the first time.

just like http://jsfiddle.net/pzCcE/1/

Can somebody help me to improve it?

10条回答
  •  遥遥无期
    2020-12-03 05:51

    With answer of j08691 look into following thing also..

    It totally makes no sense to create a selector like #id #id because an ID has to be unique within your DOM by definition.

    
    
    $("#tab1 .checkAll").click(function () {
    

提交回复
热议问题