我想顯示一個jQuery對話框中Instagram的登錄窗口:載入外部網址總是顯示狀態取消
$(function(){
//$("#modal").dialog({ autoOpen: false });
var url = "https://instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=http://www.google.com/&response_type=code";
$("#modal").load(url).dialog({modal:true});
});
的URL工作在瀏覽器中,但是當我嘗試在加載iframe或對話框不起作用。 的URL不是的問題,因爲,我嘗試用別人的網址,但在Chrome網絡總是告訴我地址 - >狀態取消
查找相同的原產地策略 – tymeJV