title: How to Add options to <SELECT>, in IE Windows Mobile 5
body: <p>Trying to programmatically add options to a SELECT drop down in IE Windows Mobile.</p>
  
  <p>Because this is IE Windows Mobile 5, most solutions involving getElementID do not function, so I have had to resort to more plain vanilla HTML /Java script, the example below works fine in IE 6 and FF , but fails with "Object doesn't support this property or method" in Windows Mobile 5</p>
  
  <pre><code>function insertBarcodes()
  {
  val = document.form1.barcode.value ;
  i = document.form1.blist.length;
  myNewOption = new Option(val , val ); 
  document.form1.blist.options[document.form1.blist.length] =myNewOption ; 
   }
   updateCount();
  </code></pre>
  
  <p>}</p>
  
  <p>Any ideas?</p>