Deselect the Radio Button

Reply

Join Date: Mar 2006
Posts: 20
Reputation: muthumari is an unknown quantity at this point 
Solved Threads: 0
muthumari muthumari is offline Offline
Newbie Poster

Deselect the Radio Button

 
0
  #1
Apr 22nd, 2006
Hi,

I am new to PHP.How do deselect the selected radio button.I have 4 radio button . If i select one radio button .Then How do the selected radio button go to deselected whenever i click the submit button.
Anybody help me??
Thanx
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 166
Reputation: Lafinboy is an unknown quantity at this point 
Solved Threads: 7
Lafinboy's Avatar
Lafinboy Lafinboy is offline Offline
Junior Poster

Re: Deselect the Radio Button

 
0
  #2
Apr 22nd, 2006
Radio buttons are not selected by default, you need to add the selected="selected" elements to the button tag to have it selected by default. It sounds like you may have this being added to your radio buttons dynamically once the form is submitted, but without seeing your code it's really hard to tell.
If I've been a help please confirm by clicking the Add to Lafinboy's Reputation link in the header of this reply.

Lafinboy Productions
:: Website Design :: Website Development ::

Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC