window.showModalDialog 在谷歌Uncaught TypeError: undefined is not a function
来源:互联网 发布:网络名字大全女孩四字 编辑:程序博客网 时间:2024/04/30 13:12
调用方法的变量未定义
Chrome 37+禁用对showModalDialog的默认支持。
if(navigator.userAgent.indexOf("Chrome") >0 ){var winOption = "height="+height+",width="+width+",top=50,left=50,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,fullscreen=0"; return window.open(url,window, winOption);}else{ return window.showModalDialog(url, window, 'dialogHeight: ' + height + 'px; dialogWidth: ' + width + 'px;edge: Raised; center: Yes; help: Yes;scroll:no; resizable: no; status: no;resizable:yes');}
0 0
- window.showModalDialog 在谷歌Uncaught TypeError: undefined is not a function
- Uncaught TypeError: window.showModalDialog is not a function chrome 谷歌浏览器
- Uncaught TypeError: window.showModalDialog is not a function 谷歌
- Uncaught TypeError: window.showModalDialog is not a function 谷歌
- Uncaught TypeError: window.showModalDialog is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: undefined is not a function
- window.showmodaldialog undefined is not a function
- $.widget('blueimp.fileupload') Uncaught TypeError: undefined is not a function
- Uncaught TypeError: window.jsObj.closeWebView is not a function
- Uncaught TypeError: string is not a function
- Uncaught TypeError: object is not a function
- Uncaught TypeError: object is not a function
- Uncaught TypeError: boolean is not a function
- Uncaught TypeError: $(...).appendChild is not a function
- Uncaught TypeError: sum is not a function
- Uncaught TypeError: search is not a function
- iOS8苹果审核新规则
- 第十三周 项目1-3
- android IOS 开发交流群
- linux下tomcat内存溢出
- 关于app断点不停的问题
- window.showModalDialog 在谷歌Uncaught TypeError: undefined is not a function
- CDC抓取数据过程中所遇到的问题集合
- VC++菜单
- 第13周项目1.2
- 第十三周项目1---1
- 第十二周项目一——阅读程序(5)
- 第十三周 项目一--数组大折腾(1)
- 构建基于Jenkins + Github的持续集成环境
- ci操作mysql,查询结果集返回 给对象或者数组