http://www.app.com和http://app.com有什么区别
以及它如何影响 Ajax 的跨域策略
我的意思是我在应用程序中添加了ajax请求
$.ajax({
type: "POST",
url: "http://app.in/getToken",
contentType: "text/html",
success: function(msg) {
alert(msg);
}
});
它适用于chrome,但不适用于firefox
什么问题?
谢谢