Jquery Exclude a Selector?

后端 未结 5 1297
-上瘾入骨i
-上瘾入骨i 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:40

    You want the not-equal to selector:

    .wpcf7-form input[id!=submit]
    

    or

    .wpcf7-form input[type!=submit]
    

提交回复
热议问题