Using JavaScript to manipulate HTML input (checkbox) elements via type instead of name

后端 未结 7 2143
说谎
说谎 2021-01-04 14:41

I am implementing an HTML form with some checkbox input elements, and I want to have a Select All or DeSelect All button. However, I do not want to rely on the name

7条回答
  •  清歌不尽
    2021-01-04 15:10

    
    
    
    
    
    
    
    All :
    A. :
    B. :
    C. :

提交回复
热议问题