Template:2012FR/Form-section/Radiobuttons/Default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
rm currency symbol from other button
add js for checked amount class
Line 49: Line 49:
$(".frequency-options > label").removeClass("checked");
$(".frequency-options > label").removeClass("checked");
$(this).addClass("checked");
$(this).addClass("checked");
});

$(".radiobuttons-cell label, .input_amount_other").click(function() {
$(".radiobuttons-cell label").removeClass("checked");
$(".input_amount_other").removeClass("checked");
$(this).addClass("checked");
});

$(".input_amount_other").click(function() {
$("#radiobuttons-table > td").each(function() {
$(this).checked = false;
});
$(".input_amount_other").addClass("checked");
$("#input_amount_other_box").focus();
});
});



Revision as of 20:31, 12 January 2015

Donation amount: