javascript problem

Discussion in 'JavaScript' started by getz, Feb 23, 2008.

  1. #1
    I have a web page having 2 groups of radio buttons(suppose group1,group2). In both groups there are 2 radio buttons ie, yes & no . 'no' button is checked by default in both groups.I want when a user checks yes button of any group (suppose group1), corresponding yes button of other group (group2)get checked automatically & vice versa.(It will happen also for 'no' buttons if user change his/her mind from yes to no.)

    Thanks in advance.
     
    getz, Feb 23, 2008 IP
  2. Logic Ali

    Logic Ali Well-Known Member

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Why do you need two groups of buttons if they will always have the same state? If you had a master-slave setup it might make sense, but not what you describe.
     
    Logic Ali, Feb 23, 2008 IP