Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
i have radio button , which on click ,i assign a tag href , a value from radio button.

for exp,

I have radio buttons as

<input type="radio" name="rd1" value="3" />3
<input type="radio" name="rd1" value="4" />4
<input type="radio" name="rd1" value="5" />5


<input type="radio" name="rd2" value="1" />1
<input type="radio" name="rd2" value="0" />0
<input type="radio" name="rd2" value="2" />2


Click Now


I want to assign a tag href value from input radio click.

i.e one from first radio button group ,and one from second radio button group.
(ie.i value from name=rd1 and rd2)

Note: There can be one radio button group,or multiple....

How to do this..
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900