populate selectbox in parent window via popup
<p>I have a popup which populates a select list found in the parent window.</p>

<p>Here is my javascript code for populating the select list from the popup:</p>

<pre><code>function add_2_list(element) {
    var destinationList =window.opener.document.getElementById('selectlist_id');
    var select_index = destinationList.length;
    destinationList.options[select_index] = new Option(element, element, true) 
}
</code></pre>

<p>This code works great on mozilla firefox but does not seem to work on Internet Explorer 9.</p>

<p>I would appreciate it if somebody could help me figure out a way how to fix the problem with IE 9.</p>

<p>Thanks</p>
