Stowarzyszenie B-Active
ul. Różana 16,
Zator 32-640
NIP: 5492450012

Email:
kontakt@b-active.pl

'; $('#jdscf-message-219').html(_alert); setTimeout(function () { $('#jdscf-message-219').html(''); }, 3000); } $('#simple-contact-form-219').on('submit', function (e) { e.preventDefault(); var formData = new FormData(this); var _form = $(this); var _id = 'simple-contact-form-219'; var _loading = $('.simple-contact-form-loader.module-219'); if (_form.parsley().isValid()) { $.ajax({ url: 'https://mtbgdyniamaraton.pl/index.php?option=com_ajax&module=jdsimplecontactform&format=json&method=submitForm', data: formData, type: 'POST', beforeSend: function () { _loading.removeClass('d-none'); }, cache: false, contentType: false, processData: false, success: function (response) { if (response.status == 'success') { $('.jd-simple-contact-message-219').html(response.data.message); _loading.addClass('d-none'); if (response.data.redirect != '') { setTimeout(function () { window.location = response.data.redirect; }, 2000); } } else { _loading.addClass('d-none'); if ( response.message == "[]" ) { showMessage219("error", "Failed to instantiate mail function."); } else if(typeof response.message == "string") { showMessage219("error", response.message); } else { var errors = JSON.parse(response.message); for (index = 0; index