Radio button to clear other radio buttons

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

LVL 8
Robert GranlundAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Christal CISSPCommented:
Why not name them all all wave_min?
Robert GranlundAuthor Commented:
I think I just had a duhhhh moment. BUT there is a reason.  I need to create two different variable for an AJAX call and need two different names.
Dave BaldwinFixer of ProblemsCommented:
Well maybe you don't since an unchecked radio button isn't going to send anything.  If they are all unchecked, nothing will be sent.  So if you use the second one to clear the first one, it will be the same effect as if they were all the same name.
Michel PlungjanIT ExpertCommented:
Give them the same name but a different id or data attribute and Bob's your uncle

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.