Template:2012FR/Form-email-20131004/US: Difference between revisions

Content deleted Content added
add tweaked hpc code
clean up methods
 
(4 intermediate revisions by the same user not shown)
Line 1:
{{2012FR/Form-section/Processing/Default
| language = {{{language}}}
| country = {{{country}}}
| appeal = {{{appeal}}}
| currency = USD
| handler = GC
| GC-CC-ffname = cc-vmad
}}
{{2012FR/Form-section/Radiobuttons/3-buttons
| country = {{{country}}}
Line 15 ⟶ 7:
| donate-amount-2 = 20
}}
{{2012FR/Form-section/PaymentmethodsPaymentmethod/Creditcard}}
{{2012FR/Form-section/Paymentmethods/EWalletPaymentmethod/PayPal}}
{{2012FR/Form-section/Paymentmethods/EWalletPaymentmethod/Amazon}}
<html>
<script>
Line 78 ⟶ 70:
}
if( ask != null ){
// change amounts on radio buttons
for( var j = 0; j < ask.length; j++ ){
var radio = $("#input_amount_" + j);
Line 89 ⟶ 82:
}
}
 
// change amounts in appeal
var considerAmountString = "";
for( var j = 0; j < ask.length; j++ ) {
considerAmountString += symbol + ask[j] + ', ';
}
considerAmountString = considerAmountString.trim();
$('.consider-amounts').html(considerAmountString);
}
}