[thelist] Javascript in IE problem

Peter-Paul Koch gassinaumasis at hotmail.com
Tue Oct 2 03:01:26 CDT 2001



>I am trying to write a page where the user can select something from a
>dropdown box and if it is not there then they can press a button which
>will open up a pop up window that will get the information they want added
>and then add it to the list on the original page.
>
>I have tryed using the window.opener property whcih although works fine in 
>Mozilla 0.9.4 on Win2k it produces the error "The server threw an
>exception" in Internet Explorer 5 on Win2k and also IE6 on Win2k.
>
>I guess it is something to do with security. Any ideas?

There is a bug in IE5.0 that precludes you from writing new options to a 
select in another frame. Haven't tested it with other windows, though, and 
it's supposed to be solved in IE5.5

Solution: put the new option script in the same page as the select box and 
call it cross-window.

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the thelist mailing list