window.open(url, '_blank').location; AJAX獲取URL的話 一定要加上 async:false $.ajax({ type: 'POST', url: '/echo/json/', async: false, success: function (data) { window.open(data.url, '_blank').location; }
})
window.open(url, '_blank').location; AJAX獲取URL的話 一定要加上 async:false $.ajax({ type: 'POST', url: '/echo/json/', async: false, success: function (data) { window.open(data.url, '_blank').location; }
})
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。