I have multiple selects at one page. I need to check them all, and check if an option is selected.
So basically I need some jquery/js that does: If every select has a option selected then ... else ...
Right now I have"
if($('.container select').val()){
//Do stuff
} else {
// Do something else
}
The problem is: this code only checks the first select on the page and I need to check them all!
Can anybody help?