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

Content deleted Content added
m hide monthly cancel text also, to avoid confusion
removing some old code
Line 43:
document.getElementsByName("amountGiven")[0].value="";
}
 
//This variable tells the payment processing whether or not this donation is recurring.
// Redundant now - handled by radio buttons with name "frequency"
var monthlyDonation = false;
 
//This variable tells the page whether or not to display the information for cancelling a monthly payment
var showMonthlyCancel = true;
 
//This variable tells the page whether or not to display a link to a monthly version of the page
var showMonthlyLink = false;
 
//This variable tells the page whether or not to display a link to a one-time version of the page
var showOnetimeLink = false;
 
$(document).ready(function(){
// hide frequency options in India, where we can only handle one-time donations
if (document.paypalcontribution.country.value === 'IN') {
$("#frequency_onetime").attr('checked', true);
Line 79 ⟶ 67:
</div>
<div id="radiobuttons-table-body">
<!-- <center> -->
<table id="radiobuttons-table">
<tr>
Line 119 ⟶ 106:
</tr>
</table>
<!-- </center> -->
</div>
</html>