jQuery 实现 checkbox的树形菜单结构

参考:https://css-tricks.com/indeterminate-checkboxes/

          https://css-tricks.com/examples/IndeterminateCheckboxes/

js代码:



html 代码:

     


           

  •            
               


               

                       

    •                      
                           
                       

    •                  

    •                      
                           


                           

                                 

      •                              
                                     
                                 

      •                          

      •                              
                                     
                                 

      •                      

                       

    •                  

    •                      
                           
                       

    •            

           

  •        

  •            
               


               

                       

    •                      
                           
                       

    •                  

    •                      
                           
                       

    •                  

    •                      
                           
                       

    •            

           

  •    


你可能感兴趣的:(WEB)