简体   繁体   English

jQuery对话框不适用于IE 7

[英]jQuery dialog not working on IE 7

Is the jQuery dialog really not compatible with IE 7 or i'm just doing something wrong? jQuery对话框是否真的与IE 7不兼容,或者我做错了什么? (of course it might be the latter) (当然可能是后者)

i have this code to load the jQuery dialog and it's working fine in all browser except IE7 and lower versions. 我有这段代码可以加载jQuery对话框,并且在除IE7和更低版本之外的所有浏览器中都可以正常工作。

...

jQuery("#divDialog").dialog({
   modal: true,
   width: winWidth,
   height: winHeight,
   title: title,
   position: "center",
   close : function() {
       alert('Dialog Closed')
   }
  });

is there any way to have this working on IE 7? 有什么办法可以在IE 7上正常运行? thanks in advance for your advises.. 在此先感谢您的建议。

If you're using the 2.x branch of jQuery, it is not compatible with IE7 (or 8): http://jquery.com/browser-support/ 如果您使用的是jQuery 2.x分支,则它与IE7(或8) 兼容: http : //jquery.com/browser-support/

  Internet Explorer 

jQuery 2.x: 9+ jQuery 2.x:9以上

If you need IE7 support, you should bump down to the 1.x branch, as it supports IE6 and up. 如果需要IE7支持,则应降低到1.x分支,因为它支持IE6及更高版本。

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

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