How to match "input" and "select" elements in jQuery with 1 query

Posted by MarkL on Stack Overflow See other posts from Stack Overflow or by MarkL
Published on 2010-05-26T04:29:23Z Indexed on 2010/05/26 4:31 UTC
Read the original article Hit count: 166

re,

I have a simple query that works:

$("#test > fieldset > input").each(function() { })

However, I want to select "input" and "select" elements without having to write 2 "each" queries. Is this possible?

thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery