target input by type and name (selector)

后端 未结 3 1434
野性不改
野性不改 2020-12-12 12:43

I need to change some checkbox inputs to hidden inputs for some but not all inputs on a page.



        
3条回答
  •  眼角桃花
    2020-12-12 13:11

    input[type='checkbox', name='ProductCode']
    

    That's the CSS way and I'm almost sure it will work in jQuery.

提交回复
热议问题