There are form elements under a div, I do not know the type. It might be checkboxes or radios or select. how to select form elements without specifying the element type under a using jquery?
2 Answers
Use the :input selector:
$(':input')
Which is basically short hand for:
$('input, select, textarea, button')