
You are donating to : Help for children
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis…
You are donating to : Допомога дітям
$10
$20
$30
I would like to make a one time
weekly
monthly
yearly donation(s)
How many times would you like this to recur? (including this payment)*
2
3
4
5
6
7
8
9
10
11
12
jQuery(document).ready(function($){
$(‘.gdlr-payment-method img’).click(function(){
$(this).addClass(‘gdlr-active’).siblings().removeClass(‘gdlr-active’);
$(this).siblings(‘input[name=”payment-method”]’).val($(this).attr(‘alt’));
if( $(this).attr(‘alt’) == ‘paypal’ ){
$(this).closest(‘.gdlr-payment-method’).siblings(‘.gdlr-paypal-amount-wrapper’).children(‘.gdlr-recurring-payment-wrapper’).slideDown(200);
}else{
$(this).closest(‘.gdlr-payment-method’).siblings(‘.gdlr-paypal-amount-wrapper’).children(‘.gdlr-recurring-payment-wrapper’).slideUp(200);
}
});
$(‘select[name=”t3″]’).change(function(){
$selVal = $(this).val();
if( $selVal == 0 ){
$(‘input[name=”cmd”]’).val(‘_xclick’);
$(‘input[name=”bn”]’).val(‘PP-BuyNowBF’);
$(‘.gdlr-recurring-time-wrapper’).slideUp();
} else {
$html = ”;
$(‘select[name=”srt”]’).empty();
$year_array = new Array();
if( $selVal == ‘Y’ ){
$year_array[2] = 2;
$year_array[3] = 3;
$year_array[4] = 4;
$year_array[5] = 5;
} else {
$year_array[2] = 2;
$year_array[3] = 3;
$year_array[4] = 4;
$year_array[5] = 5;
$year_array[6] = 6;
$year_array[7] = 7;
$year_array[8] = 8;
$year_array[9] = 9;
$year_array[10] = 10;
$year_array[11] = 11;
$year_array[12] = 12;
}
$.each( $year_array, function( index, value ){
if( index != 1 && index != 0 ){
$html += ”+value+”;
}
});
$(‘select[name=”srt”]’).append($html);
$(‘input[name=”cmd”]’).val(‘_xclick-subscriptions’);
$(‘input[name=”bn”]’).val(‘PP-SubscriptionsBF:btn_subscribeCC_LG.gif:NonHosted’);
$(‘.gdlr-recurring-time-wrapper’).slideDown();
}
});
});