Reputation: 36733
Here's a JSFiddle example so you see what I mean:
http://jsfiddle.net/stapiagutierrez/yVzR5/
The event is supposed to fire on the selection of the payment option change, but it's only firing when I specifically click on the radio button.
Any ideas?
Upvotes: 2
Views: 1342
Reputation: 2585
You will need to trigger the event yourself
$('.paymentoption').click(function () {
$(this).find('input[name="paymenttype"]').prop('checked', true).change();
// or trigger('change');
});
Upvotes: 5