I'd like to select the first text input, password input, or textarea on the page.
Only those three types of elements, and only the first one. $("[EMAIL PROTECTED]'text']:first, [EMAIL PROTECTED]'password']:first, textarea:first") is close, but not exact - it will take the first text input, and the first password input, and the first text area.... I only want the one of those that appears first in the markup... Can jQuery solve this?