jQuery UI dialog doesn't show in IE7

谁说胖子不能爱 提交于 2020-01-06 05:42:09

问题


I've finally got the datepicker to work on my MVC demo site and also the dialog.

I still have a few issues: the dialog doesn't show in IE7 so when I click a link where a confirm dialog is supposed to appear it just removes the row without showing the dialog.

It works great in Firefox3 and Safari.

Please try for yourself on my Demo site.

Click the link "Boka plats" on the menu. then login with:

email: test@test.nu

password: tester

when logged in try to click one of rows "avboka" link (this is where a dialog is shown in Firefox and Safari)


回答1:


ie is having an issue due to line 113 in your page:

$("#dialog").css("display", "inherit");

I tried without this line or changing it to block and it works fine without error.



来源:https://stackoverflow.com/questions/396171/jquery-ui-dialog-doesnt-show-in-ie7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!