B
Beemer Biker
I am using a pull down box and firing the onchange event to put some stuff
in a frame "main". However, other objects can also update the same frame.
I would like to be able to restore the image in the frame by re-selecting
the item in the pull down list. This works fine as long as the item I
select is not the on currently selected (but not necessarily shown)
If I reselect the same item in the pull down list, as expected the "main"
frame will not get restored since truely there is "no change"
I tried adding "onkeyup" to the pulldown box. OK, presssing return on the
same item will cause it to get redrawn and that causes the "main" frame to
get re-selected. But who would know to press return. I could add a reset
button, but it seems to be there should be some way to force a reselect. I
looked at the methods associated with the pull down list and dont see
anything obvious.
Is there some type of "on frame change" that I can use to invalidate the
pull down box? ie: set the selectedIndex of the pull down box to '0' which
then shows a "please select".
--
=======================================================================
Beemer Biker joestateson at grandecom dot net
http://TipsForTheComputingImpaired.com
http://ResearchRiders.org Ask about my 99'R1100RT
=======================================================================
in a frame "main". However, other objects can also update the same frame.
I would like to be able to restore the image in the frame by re-selecting
the item in the pull down list. This works fine as long as the item I
select is not the on currently selected (but not necessarily shown)
If I reselect the same item in the pull down list, as expected the "main"
frame will not get restored since truely there is "no change"
I tried adding "onkeyup" to the pulldown box. OK, presssing return on the
same item will cause it to get redrawn and that causes the "main" frame to
get re-selected. But who would know to press return. I could add a reset
button, but it seems to be there should be some way to force a reselect. I
looked at the methods associated with the pull down list and dont see
anything obvious.
Is there some type of "on frame change" that I can use to invalidate the
pull down box? ie: set the selectedIndex of the pull down box to '0' which
then shows a "please select".
--
=======================================================================
Beemer Biker joestateson at grandecom dot net
http://TipsForTheComputingImpaired.com
http://ResearchRiders.org Ask about my 99'R1100RT
=======================================================================