我尝试使用 cdata 但无法正常工作的代码中有错误。谢谢您的帮助
$(document).ready(function webservice(){
$.mobile.loading( 'show', {
text: 'Start application...',
textVisible: true,
theme: 'a',
html: ""
});
$.ajax({
type: "POST",
url: "//webservice.domain.ltd/connect/app/device.asmx",
dataType: "jsonp",
success: function(response) {
var redirect = response.getHeader('Location');
document.location = redirect;
}
});
});