How to select an input OR a select with jQuery
- by Ricardo
Hi, how can one select an input "or" a select element with jQuery? I have a form, and I want to get the first element of that form that is an input or a select. So, this $('#myForm').find('input:first') or $('#myForm').find('select:first'). Any idea? Thanks