title: Getting all options in a select element
body: <p>I have a select element where a user can add and remove options.  When the user is done they will then click save but I cannot figure out how to then get all the options from the select.  I have found JQuery to get all the selected but I just need all of them.  I tried this:</p>
  
  <pre><code>var str = "";    
  $("#wordList").each(function () {    
      str += $(this).text() + ",";    
  });    
  alert(str);
  </code></pre>
  
  <p>But it just concatenates all the option to one long string that ends in a comma.</p>