S
Soren Schimkat
Hi
This works fine and adds a new element to the list:
document.forms['formname'].elements['listname'].options[0] = new
Option('foo', 'bar');
... but using the following code in a popup window - IE crashes or tells
me that the server threw an exception:
window.opener.document.forms['formname'].elements['listname'].options[0]
= new Option('foo', 'bar')
The code works just fine in Firefox. Could someone give me at hint on
what's wrong here?
Kind regards Søren
This works fine and adds a new element to the list:
document.forms['formname'].elements['listname'].options[0] = new
Option('foo', 'bar');
... but using the following code in a popup window - IE crashes or tells
me that the server threw an exception:
window.opener.document.forms['formname'].elements['listname'].options[0]
= new Option('foo', 'bar')
The code works just fine in Firefox. Could someone give me at hint on
what's wrong here?
Kind regards Søren