Windows Phone 8.1 Internet Explorer ajax超时
当从页面发布ajax请求时,我在大约60秒后得到错误0。 我将ajax超时设置为120秒,但此设置在IE11/WindowsPhone8.1和Microsoft Edge/Windows Mobile 10上不起作用! 如何增加Windows Phone上的默认超时Windows Phone 8.1 Internet Explorer ajax超时,ajax,windows-phone-8,timeout,internet-explorer-11,microsoft-edge,Ajax,Windows Phone 8,Timeout,Internet Explorer 11,Microsoft Edge,当从页面发布ajax请求时,我在大约60秒后得到错误0。 我将ajax超时设置为120秒,但此设置在IE11/WindowsPhone8.1和Microsoft Edge/Windows Mobile 10上不起作用! 如何增加Windows Phone上的默认超时 $.ajax({ url: '/test1.aspx', type: 'post', timeout: 120000, data: { times
$.ajax({
url: '/test1.aspx',
type: 'post',
timeout: 120000,
data: {
timestr: $('input[type=text][name=Text1]').val()
},
complete: function () {
alert('stop2');
},
error: function(ajaxContext) {
alert(ajaxContext.status);
alert(ajaxContext.statusText);
},
success: function (data) {
alert(data);
}
});