Jas
05-17-2008, 02:04 AM
So I have this code:
window.opener.document.forms['editor'].image_select.options.length = 0;
window.opener.document.forms['editor'].image_select.options[0] = new Option("hi","hi");
It works fine in Firefox, but in IE7, only the first line works. :confused:
The error message is something to the effect of:
The object does not support this property or method
window.opener.document.forms['editor'].image_select.options.length = 0;
window.opener.document.forms['editor'].image_select.options[0] = new Option("hi","hi");
It works fine in Firefox, but in IE7, only the first line works. :confused:
The error message is something to the effect of:
The object does not support this property or method