$.ajax({
url: '/api/career',
data: formData,
contentType: false,
processData: false,
dataType: 'json',
cache: false,
async: false,
type: 'POST',
success: function (data) {
$("#careerloader").hide();
$("#submitcareer").show();
$(".ajax-file-upload-container").html("");
$('#career-form form').each (function(){
this.reset();
});
$(poupContainer).hide();
$(submitButton).prop('disabled', false);
$('#thankyou').show().find('.message').html('Thank you for applying to Corindus. Your application has been successfully submitted.');
$(".file_path").val("");
$(".filename").val("");
$('#files.uname').val("")
// $(".selected-file-name").html("");
$(".selected-file-name").show();
$(".selected-file-name").css("margin-top","-20px");
}, complete: function () {
$('.colorHolder label').each (function(index,item){
$(item).css("display","block");
})
$("#careerloader").hide();
$("#submitcareer").show();
$(submitButton).prop('disabled', false);
},
error : function (xmlhttprequest, textstatus, message){
$('.non-popup-career-form .error span').text(textstatus);
$('.non-popup-career-form .error').show();
return false;
}
})
Я использую ajax для отправки формы.он работает на всех устройствах и браузерах, кроме iPhone и iPad выше 10.0 версии.Я проверил в браузере симулятор и он работает.я не знаю, почему я не представляю в iPhone и iPad версии выше 10.0.