jquery select element with multiple attributes

后端 未结 2 1011
借酒劲吻你
借酒劲吻你 2021-01-04 13:47

Ok..i\'m having a brainfart right now with jquery\'s selector process (yes, it\'s quite confusing to start).

I have 2 input elements on the page, of which I want to

相关标签:
2条回答
  • 2021-01-04 14:21
    $('input[type=hidden][name=Email]').remove();
    

    should do. You can learn more about jQuery selectors here.

    0 讨论(0)
  • 2021-01-04 14:23
    $('input[name=Email][type=hidden]').remove()
    
    0 讨论(0)
提交回复
热议问题