User:Pcoombe/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 192:
 
<script>
$(document).ready(function() {
 
$("input[name='amount'].frequency-options > label").changeclick(function () {
$("#radiobuttons.frequency-tableoptions > tdlabel").removeClass("checked");
$(".input_amount_other"this).removeClassaddClass("checked");
});
 
$("#radiobuttons-table label, .input_amount_other").click(function() {
$(".frequency#radiobuttons-options >table label").removeClass("checked");
$(".input_amount_other").removeClass("checked");
$(this).parent().addClass("checked");
});
$(".input_amount_other").click(function() {
$("#radiobuttons-table > td").each(function() {
Line 204 ⟶ 210:
});
$(".input_amount_other").addClass("checked");
$(this"#input_amount_other_box").addClassfocus("checked");
});
$("input[name='frequency']").click(function() {
$(".frequency-options > label").removeClass("checked");
$(this).parent().addClass("checked");
});