JQuery - Set Attribute value

前端 未结 6 572
旧时难觅i
旧时难觅i 2021-02-05 02:22

I have following HTML with two elements having the same name




        
6条回答
  •  终归单人心
    2021-02-05 02:51

    You can add different classes to select, or select by type like this:

    $('input[type="checkbox"]').removeAttr("disabled");

提交回复
热议问题