title: How get the text from a listbox item?
body: <p>When I try to get the text from a Listbox item in javascript it always returns undefined.</p>
  
  <pre><code>winkeloptie.value = winkels[i][0]; 
  winkeloptie.text = (winkels[i][0]);
  
  alert(winkeloptie.value) ///This returns the value very nicely
  alert(winkeloptie.text) //Returns undefined
  </code></pre>
  
  <p>How can I get the text?</p>
  
  <p>edit: for more info:</p>
  
  <pre><code>function addWinkels(){
      var winkellijst = document.getElementById('winkel');
      for (var i = 0;i &lt; winkels.length;i++){
          var winkeloptie = document.createElement("Option");
          winkeloptie.text = (winkels[i][0]);
          winkeloptie.title = (winkels[i][1]);
          winkeloptie.value = winkels[i][0]; 
          winkellijst.options.add(winkeloptie); 
      }
  }
  </code></pre>