iquery cannot append option element object into select list in IE

I have a form that contains a dynamic drop down. The content of drop down 2 is dynamic depending on the selection on dropdown 1. Pretty standard stuff. I hook a function to dropdown1's change event, and load, using ajax/json, the dropdown2 with data retrieved from the server. I use the pretty simple lines of jquery code:

    var e = document.createElement('option');
    e.text = "orange";
    e.value = "1";

This works in firefox, but not in IE. Turned out this is a known problem and it is marked "wontfix". You can read the bug report here. This is the work around:


Not very nice, but at least it works.