I\'m using the below selector to get all the form inputs that are pre-populated with a value.
$(\'input[value!=\"\"]\');
This works great a
For select you need to use a special selector made available by JQuery: :selected
So
$('#state option:selected').val()
is the current selected value.
If you need the do something on the select elements themself you could do something like:
$('#select option:selected').parents('select').dosomething(...)