title: How to check if drop-down is selected in JavaScript
body: <p>I have a validator function looping through to check and see if all inputs have been filled out, but I also need to check if the dropdown's have been selected as well. I would like to write that into the same function.</p>
  
  <pre><code>    function validateSave (){
          // reset status
         var good = true                                       
         $('.errormessage-left').removeClass('active-left')
         $('input').removeClass("warning")
         $('input').each(function(){
             if ($(this).val() == "") {
             console.log("found an empty");
             good = false
             $(this).addClass("warning")
             $('.errormessage-left').addClass('active-left'),
             $('.modal').addClass('modal-active'); 
          }
      })
      console.log(good)
      return good
      }
  </code></pre>
  
  <p>What's the best way to go about this?</p>