Welcome visitor
* Login
* Register
It is currently September 15th, 2019, 7:57 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Reset the radios only
PostPosted: January 3rd, 2010, 6:49 am 

Posts: 22
Hi.

Im looking for a way to reset in a form only the radio buttons, do you know if this is possible?


Top
 Profile  
 
  Re: Reset the radios only
PostPosted: January 3rd, 2010, 6:59 am 
User avatar

Posts: 137
<input type="reset" onclick="document.getElementById('r1').checked=false; return false">
You can do it for as many radios as you wish, this is only the basic idea. And it can be a regular button so you dont need the return false statement.
<input type="button" onclick="document.getElementById('r1').checked=false;">
//the return false was to stop the hole form from resetting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron