Skip to main content

Search and Top Navigation

#4059 closed bug (wontfix)

Opened February 04, 2009 06:55PM UTC

Closed September 07, 2010 01:16PM UTC

Dialog can only be initialized after document is ready in IE

Reported by: RavenRA Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.5.3
Keywords: Cc:
Blocked by: Blocking:
Description

Internet Explorer:

If you make certain div a dialog on a fly (not using $(document).ready() ) and dialog's div is enclosed in another div, browser stops displaying the page and shows 'Internet Explorer cannot display the webpage'. Code to replicate is displayed at the bottom.

If this is accepted behaviour, documentation should stress this moment. This has did NOT happen in jQuery 1.2.6 + ui.base rev 5174 + ui.dialog rev 5185.

<html>
 <head>
  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
  <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ui.core.js"></script>
  <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ui.dialog.js"></script>
 </head>
 <body>
  <div>
   <div id='coverDialog' title='zeTitel'>blah</div>
   <script>$('#coverDialog').dialog();</script>
  </div>
 </body>
</html>
Attachments (0)
Change History (4)

Changed February 07, 2009 01:38AM UTC by rdworth comment:1

milestone: TBD1.next

Changed November 13, 2009 07:32PM UTC by scottgonzalez comment:2

milestone: 1.next1.8

Changed June 01, 2010 09:35PM UTC by ehynds comment:3

This problem exists in IE <= 7 and is caused by this bug: http://support.microsoft.com/kb/927917

In short, you cannot append to document.body unless the script tag directly descends it. test case @ http://jsfiddle.net/xwUQR/

Changed September 07, 2010 01:16PM UTC by scottgonzalez comment:4

resolution: → wontfix
status: newclosed