Please disregard the original post with my apologies; I have resolved this issue for myself.
For those interested, just remove the "history.go(0);" statement. Navigator will still refresh
the list and IE won't choke anymore.
> I hav a form that contains 2 selections list. The option values for the
second are to be dynamic
> based on the value chosen in the first. I have incorporated the
following code to test with...
>
> <script language="JavaScript">
> :
> :
> function populateChairmanCode(theForm)
> {
> var newChairman = new Option("Jim Shu", "Jim Shu", false,
false);
> theForm.chairmancode.options[theForm.chairmancode.length] =
newChairman;
> history.go(0);
> }
> </script>
> </head>
> <body>
> :
> :
> <table...>
> <tr>
> <td width=150 align="right" valign="middle">
> University Program:
> </td>
> <td width=600 align="left" valign="middle">
> <select name="univprogram"
onChange="populateChairmanCode(this.form);">
> <option value="NULL" defaultselected>Please select...
> <option
value="NULL">--------------------------------------
> <option value="UNLV">University of Nevada - Las Vegas
> </select>
> </td>
> </tr>
> <tr>
> <td width=150 align="right" valign="middle">
> Program Chairman Code:
> </td>
> <td width=600 align="left" valign="middle">
> <select name="chairmancode">
> <option
value="NULL">---------------------------------------------------
> </select>
> </td>
> </tr>
> :
> :
>
> When this code is executed within Navigator, it works like a champ. In
IE, however, I think
> the "history.go(0);" statment appears to be causing the entire page to
refresh and all form
> field values to be lost. Can anyone suggest a solution that will work
equally well in both
> browsers? Thank you in advance for your time and consideration.
>
> David Marshall
> dmarshall@t...