Jquery UI Dialog Empty On Auto-Open

Posted by user1019588 on Stack Overflow See other posts from Stack Overflow or by user1019588
Published on 2012-09-21T03:19:21Z Indexed on 2012/09/21 3:37 UTC
Read the original article Hit count: 138

Filed under:
|

I am having a somewhat strange error with my jquery dialog.

When I have it autoopen, the dialog box is completely empty. If I exit out of the dialog and then reopen (through the standard dialog open event) the content appears.

The jquery setup:

$("#content_locker").dialog({
autoOpen: true,
modal: true,
height: 600,
width: 800
});

Here you can see the webpage that I am working on (it is a link-shortening service).

The dialog div starts on line 148 of the source:

<div id="content_locker" title="Exclusive Content">

You will see that the dialog is empty. If you exit out and click on the unlock button, the proper html is there.

Any ideas?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui