N
N. Demos
I made a form in which the user selects two of three colors (Red, Green
and Blue) with two select boxes. When the first select box color is
chosen, an onChange handler populated the second select with the two
remaining colors. Finally, when the second select box color is chosen,
an onChange handler places the text of the remaining color in a text box.
The form is submitted with the 'Get' method to itself and form fields
are re-assigned and selected from the respective querystring values (The
page will do other things with this data, but I need to get this to work
for now.)
The problem I'm having in IE is that after a submit, the correct value
in the second color select box is not selected. The box is populated
correctly, but the value for that field from the querystring is not
selected. I'm really baffled by this as I'm using the same function in
the first select to perform the selection and is does work correctly
there. The URLs for the files are posted below. Any help would be
appreciated.
http://home.att.net/~ndemos/ColorPalletDBug.js
http://home.att.net/~ndemos/ColorPalletDBug.html
http://home.att.net/~ndemos/ColorPallet.css
Thanks and Regards,
N. Demos
and Blue) with two select boxes. When the first select box color is
chosen, an onChange handler populated the second select with the two
remaining colors. Finally, when the second select box color is chosen,
an onChange handler places the text of the remaining color in a text box.
The form is submitted with the 'Get' method to itself and form fields
are re-assigned and selected from the respective querystring values (The
page will do other things with this data, but I need to get this to work
for now.)
The problem I'm having in IE is that after a submit, the correct value
in the second color select box is not selected. The box is populated
correctly, but the value for that field from the querystring is not
selected. I'm really baffled by this as I'm using the same function in
the first select to perform the selection and is does work correctly
there. The URLs for the files are posted below. Any help would be
appreciated.
http://home.att.net/~ndemos/ColorPalletDBug.js
http://home.att.net/~ndemos/ColorPalletDBug.html
http://home.att.net/~ndemos/ColorPallet.css
Thanks and Regards,
N. Demos