That was the idea :)

I figured you would figure out to put it in your own function.

Cheers

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

Actually I need to do this from a function call not a reset button,
however using the onclick format you provided I simply stuck that bit in
and it works. Thanks

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


<form name="myform">
<input type="radio" name="rad" value="0" checked> Default<br>
<input type="radio" name="rad" value="1"> One<br>
<input type="radio" name="rad" value="2"> Two<br>
<input type="radio" name="rad" value="3"> Three<br>
<input type="radio" name="rad" value="4"> Four<br>
<input type="radio" name="rad" value="5"> Five<br>
<br>
<input type="button" value="Reset Radio to Default"
onclick="myform.rad[0].checked=true">
</frorm>


----------------------------------------------------------------------------
--
This e-mail is intended for the use of the addressee(s) only and may contain
privileged, confidential, or proprietary information that is exempt from
disclosure under law.  If you have received this message in error, please
inform us promptly by reply e-mail, then delete the e-mail and destroy any
printed copy.   Thank you.
============================================================================
==



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215854
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to