简体   繁体   English

jQuery Modal窗口仅适用于Chrome,不适用于FF和IE9

[英]jQuery Modal window only working on Chrome but not FF & IE9

Login popup style=display:none only popup in Chrome but not Firefox16.0.1 and IE9. 登录弹出窗口样式=显示:仅Chrome浏览器中没有弹出窗口,Firefox16.0.1和IE9中没有。

Any advise or fix are welcome. 任何建议或修复,欢迎。 I follow tutorial at: tutorial 我跟着教程在: 教程

http://jsfiddle.net/6TaQt/8/ http://jsfiddle.net/6TaQt/8/

This is the markup issue also. 这也是标记问题。 Updated Fiddle This works in FF also and in chrome. Updated Fiddle在FF和chrome中都可以使用。

You have to enclose button inside a tag. 您必须将按钮括在标签内。 not a tag inside button tag. 不是按钮标签内的标签。

All other are right you have error of overlabel function 所有其他都正确,您有覆盖功能错误

尝试先调试此错误消息“未捕获的TypeError:对象[object Object]没有方法'overlabel'”,实际上我没有得到的是它在Chrome中的工作方式:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM