title: Faster way to populate <select> with Javascript
body: <p>I have two &lt;select> boxes on a form.  Selecting an item in the first &lt;select> box will determine what should appear in the second &lt;select> (Using Ajax http_request). </p>
  
  <p>In some cases there can be a large 500 (guess) items in the second select and it takes time 5-10 seconds to update in IE.  Firefox seems to work perfectly.</p>
  
  <p>I wonder if there is a faster way to achieve this.  Currently the server creates a string passes it to the client which is then broken up and add each item to the select by creating an option element and then adding it to the &lt;select>.</p>
  
  <p>I did try to create the whole select item as a string on the server and add that to the form but for some reason it wouldn't work in Firefox (missed something?) </p>
  
  <p>Thanks</p>