jQuery: how to find first visible input/select/textarea excluding buttons?

前端 未结 6 808
终归单人心
终归单人心 2020-12-03 00:36

I tried

$(\":input:not(input[type=button],input[type=submit],button):visible:first\")

but it doesn\'t find anything.

What is my mis

6条回答
  •  暖寄归人
    2020-12-03 00:53

    This is my summary of the above and works perfectly for me. Thanks for the info!

    
    

提交回复
热议问题