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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
adding new toggleMonthly function
Line 155: Line 155:
form.utm_source.value += '.' + form.payment_method.value;
form.utm_source.value += '.' + form.payment_method.value;
form.utm_campaign.value = getQuerystring( 'utm_campaign' );
form.utm_campaign.value = getQuerystring( 'utm_campaign' );
}

donationForm.toggleMonthly = function(monthly) {
if (monthly) {
$('#form-wrapper').addClass('form-monthly');
} else {
$('#form-wrapper').removeClass('form-monthly');
}
}
}
</script>
</script>

Revision as of 17:50, 23 October 2013