how i have following piece of code:
var $form = $(form);
$fields = $form.find('input[name]');
$selects = $form.find('select');
How can i concat $selects to $fields? I want inputs and selects in one JQuery Object.
how i have following piece of code:
var $form = $(form);
$fields = $form.find('input[name]');
$selects = $form.find('select');
How can i concat $selects to $fields? I want inputs and selects in one JQuery Object.