I just thought this was funny. I was trying to order the book and my payment method was messed up. So naturally it said I needed to update my payment method. When I tried to do this, it just didn't work. It would just keep setting it back to the previous method. I was getting frustrated after a few tries and decided I'd investigate the code a bit.
This javascript is important:
var radios = jQuery("input[type='radio']");
var clickedElem = radios.filter(":checked");
var selectedPaymentMethod = clickedElem.val();
I set some break points and realized that clickedElem was getting an array back from the radios.filter(":checked"). It should be a single element based on the next line. So I sta