Can you store the original value in a global variable and then reset it back to 
the global value?


<script>
        var gOldRadioValue = ""

        function...

        function...
                set gOldRadioValue = radio.value
                set radio.value to new value
        function...

        function...
                reset --> radio.value = gOldRadioValue

</script>

That's some rough Pseudo-code but hopefully it will help. 

HTH,

Dave


-----Original Message-----
From: Creese, Eric [mailto:[EMAIL PROTECTED]
Sent: Friday, August 19, 2005 12:05 PM
To: CF-Talk
Subject: Javascript form question


Okay I have a form with a series of selection boxes which fill the next
selection box. Then I have a radio button choice and depending which
radio button is selected a selection box will appear next to the label
of the radio button. When I decided to change say the first selection
box it at the top fires of a JavaScript on event change and I can get
all the selection boxes to hide but I can not get the radio button to
reset to the default choice automatically. I am not doing any page
refreshes. I can not figure out the JavaScript setting I need to reset
the radio button. Can anyone help?
******************************************************************************************
The information contained in this message, including attachments, may contain 
privileged or confidential information that is intended to be delivered only to 
the 
person identified above. If you are not the intended recipient, or the person 
responsible for delivering this message to the intended recipient, ALLTEL 
requests 
that you immediately notify the sender and asks that you do not read the 
message or its 
attachments, and that you delete them without copying or sending them to anyone 
else. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215789
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to