We help IT Professionals succeed at work.
Get Started

Radio button to clear other radio buttons

Robert Granlund
on
59 Views
Last Modified: 2016-04-12
I have the following radio buttons.  They are named "wave_min" and "wave_min_alt"  I want to clear the radio button "wave_min" if a "wave_min_alt" radio button is pressed and vise versa

  <!--  START Wavelength  -->
  	<div class="form-control main title">
  		<br />Wavelength
  	</div>
 <!--  START Wavelength Search -->
  	<div class="form-control">
            <input type="radio" name="wave_min" id="any" value="any">
  		<label for="any">
                    Any
  		</label>
  	</div>
 
  <div class="form-control">
            <input type="radio" name="wave_min" id="1100" value="1100">
  		<label for="1100">
                    Mid IR (Greater than 1100)
  		</label>
  	</div>
  
    <div class="form-control">
            <input type="radio" name="wave_min" id="9400" value="9400">
  		<label for="9400">
                    9400
  		</label>
  	</div>
  
     <div class="form-control">
            <input type="radio" name="wave_min" id="10600" value="10600">
  		<label for="10600">
                    10600
  		</label>
  	</div>
  
       <div class="form-control">
            <input type="radio" name="wave_min_alt" id="Fixed" value="Fixed">
  		<label for="Fixed">
                    Fixed
  		</label>
  	</div>
  
       <div class="form-control">
            <input type="radio" name="wave_min_alt" id="Factory Adjustable" value="Factory Adjustable">
  		<label for="Factory Adjustable">
                    Factory Adjustable
  		</label>
  	</div>
  
       <div class="form-control">
            <input type="radio" name="wave_min_alt" id="Tunable " value="Tunable ">
  		<label for="Tunable ">
                    Tunable 
  		</label>
  	</div>

Open in new window

Comment
Watch Question
IT Expert
CERTIFIED EXPERT
Top Expert 2009
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE