Jquery Exclude a Selector?

后端 未结 5 2265
渐次进展
渐次进展 2021-02-14 22:00

I\'ve got a form that I clear on focus. I\'ve selected the whole form and it works great except that the submit button goes blank when I click it.

how can I exclude my i

5条回答
  •  别那么骄傲
    2021-02-14 22:57

    You want the not-equal to selector:

    .wpcf7-form input[id!=submit]
    

    or

    .wpcf7-form input[type!=submit]
    

提交回复
热议问题