JQuery: Verify if in a collection of inputs (of type checkbox) one is checked

后端 未结 4 408
误落风尘
误落风尘 2021-01-25 00:05

I have collection of inputs of type checkbox

var collection = $(\'.className\');
console.log(collection);

result is:

[span.clas         


        
4条回答
提交回复
热议问题