Uncaught TypeError: window.showModalDialog is not a function


if(window.showModalDialog == undefined){ window.showModalDialog = function(url,mixedVar,features){ 
window.hasOpenWindow = true; 
if(mixedVar) var mixedVar = mixedVar; 
if(features) var features = features.replace(/(dialog)|(px)/ig,"").replace(/;/g,',').replace(/\:/g,"="); 
window.myNewWindow = window.open(url,"_blank",features); 
} }

把這段代碼加入控制台中


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM