Across Global Institute of Foreign Languages (AGIFL) LMS

Checkout

Account Information

Have an account? Log in here
Processing…

Membership Plan

French Foundation 2

20,000.00
<!-- // Find ALL tags on your page jQuery('form').submit(function () { // On submit disable its submit button jQuery('input[type=submit]', this).attr('disabled', 'disabled'); jQuery('input[type=image]', this).attr('disabled', 'disabled'); jQuery('#pmpro_processing_message').css('visibility', 'visible'); }); //iOS Safari fix (see: http://stackoverflow.com/questions/20210093/stop-safari-on-ios7-prompting-to-save-card-data) var userAgent = window.navigator.userAgent; if (userAgent.match(/iPad/i) || userAgent.match(/iPhone/i)) { jQuery('input[type=submit]').on('click', function () { try { jQuery("input[type=password]").attr("type", "hidden"); } catch (ex) { try { jQuery("input[type=password]").prop("type", "hidden"); } catch (ex) { } } }); } //add required to required fields jQuery('.pmpro_required').after(' *'); //unhighlight error fields when the user edits them jQuery('.pmpro_error').on("change keyup input", function () { jQuery(this).removeClass('pmpro_error'); }); jQuery(document).ready(function($) { $('#discount_code_button').on('click', function() { applyDiscountCode(); }); $('#pmpro_discount_code').on('keydown', function(e) { if (e.keyCode === 13) { e.preventDefault(); applyDiscountCode(); } }); }); function applyDiscountCode() { var code = jQuery('#pmpro_discount_code').val(); var level_id = jQuery('#pmpro_level').val(); if (!level_id) { level_id = jQuery('#level').val(); } if (code) { jQuery('.pmpro_discount_code_msg').hide(); jQuery('#discount_code_message').hide().html(''); jQuery('#discount_code_button').attr('disabled', 'disabled'); jQuery.ajax({ url: pmpro.ajaxurl, type: 'GET', timeout: pmpro.ajax_timeout, dataType: 'html', data: { action: 'applydiscountcode', code: code, pmpro_level: level_id, msgfield: 'pmpro_message' }, error: function() { jQuery('#discount_code_button').removeAttr('disabled'); }, success: function(responseHTML) { if (responseHTML === 'error') { return; } else { jQuery('#discount_code_message').html(responseHTML).show(); jQuery('#pmpro_message').html(responseHTML); } jQuery('#discount_code_button').removeAttr('disabled'); } }); } } //hide apply button if a discount code was passed in --> <!-- //add javascriptok hidden field to checkout jQuery("input[name=submit-checkout]").after(''); --> function show_password(event) { event.preventDefault(); let input_pass = this.nextElementSibling; if (input_pass.type === "password") { input_pass.type = "text"; } else { input_pass.type = "password"; } } let show_pass_buttons = document.querySelectorAll(".pmpro_show_pass"); for (let i = 0; i < show_pass_buttons.length; i++) { show_pass_buttons[i].addEventListener('click', show_password); }