Sunday, 29 September 2013

jQuery join two radio

jQuery join two radio

How I can connect radios with different names? I have something like that
- Cash (name=payment)
- Card (name=payment)
-- Visa (name=paymentCard)
-- MasterCard (name=paymentCard)
And when I will click 'Visa' then I want also have checked 'Card' by
jQuery, and ofcourse when I will click after that 'Cash' it will remove
checked from radios with name=paymentCard.

No comments:

Post a Comment