I tried
$(\":input:not(input[type=button],input[type=submit],button):visible:first\")
but it doesn\'t find anything.
What is my mis
This is an improvement over @Mottie's answer because as of jQuery 1.5.2 :text selects input elements that have no specified type attribute (in which case type="text" is implied):
:text
input
type
type="text"
$('form').find(':text,textarea,select').filter(':visible:first')