Template:2012FR/Form-email-20131004/US: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
add tweaked hpc code |
clean up methods |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | 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 |
{{2012FR/Form-section/Radiobuttons/3-buttons |
||
| country = {{{country}}} |
| country = {{{country}}} |
||
Line 15: | Line 7: | ||
| donate-amount-2 = 20 |
| donate-amount-2 = 20 |
||
}} |
}} |
||
{{ |
{{Paymentmethod/Creditcard}} |
||
{{ |
{{Paymentmethod/PayPal}} |
||
{{ |
{{Paymentmethod/Amazon}} |
||
<html> |
<html> |
||
<script> |
<script> |
||
Line 78: | Line 70: | ||
} |
} |
||
if( ask != null ){ |
if( ask != null ){ |
||
// change amounts on radio buttons |
|||
for( var j = 0; j < ask.length; j++ ){ |
for( var j = 0; j < ask.length; j++ ){ |
||
var radio = $("#input_amount_" + j); |
var radio = $("#input_amount_" + j); |
||
Line 89: | Line 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); |
|||
} |
} |
||
} |
} |
Latest revision as of 14:28, 19 June 2020