window.showmodaldialog is not a function
来源:互联网 发布:u盘重装mac系统教程 编辑:程序博客网 时间:2024/06/08 17:46
谷歌发布Chrome 37浏览器
Chrome 37禁用对showModalDialog的默认支持。
http://www.cfan.com.cn/2014/0827/110332.shtml
if(navigator.userAgent.indexOf("Chrome") >0 ){ return window.open("login.do?"+"user=123",window,"dialogWidth=500px;dialogHeight=400px");}else{ return window.showModalDialog("login.do?"+"user=123",window,"dialogWidth=500px;dialogHeight=400px");}
判断一下是否是谷歌浏览器,如果是就用window.open打开
阅读全文
0 0
- window.showmodaldialog undefined is not a function
- window.showmodaldialog is not a function
- Uncaught TypeError: window.showModalDialog is not a function 谷歌
- Uncaught TypeError: window.showModalDialog is not a function 谷歌
- Uncaught TypeError: window.showModalDialog is not a function
- ucUncaught TypeError: window.showModalDialog is not a function关于showModalDialog停用的问题
- window.showModalDialog 在谷歌Uncaught TypeError: undefined is not a function
- Uncaught TypeError: window.showModalDialog is not a function chrome 谷歌浏览器
- TypeError: window.open is not a function
- Chrome showModalDialog undefined is not a function 的替代方案
- TypeError:window.forms.loginForm.submit is not a function
- Uncaught TypeError: window.jsObj.closeWebView is not a function
- $ is not a function
- $ is not a function
- is not a function
- window.location.href报错window.location is not a function
- $(...).niceScroll is not a function; $... is not a function
- object is not a function
- 【QCA】寄存器操作函数
- 2017杭电ACM集训队单人排位赛
- 怎样学习大数据
- 侧边悬停在线客服,可以收缩,很实用的。
- HDU1789 贪心
- window.showmodaldialog is not a function
- C#实现office文档转换为PDF或xps的一些方法(留存备用)
- C#的控件伸缩实现
- ios学习
- ubuntu常见错误--Could not get lock /var/lib/dpkg/lock解决
- 【小白成长史】在onlick事件中跳转的失效
- 微信小程序--data的赋值与取值
- Leetcode Palindrome Partitioning
- 网络判断