The Dev Pages

A knowledge base for simple (and beyond) web applications development




So the autoOpen:false on the jQuery dialog instantiation doesn’t hide the div fast enough sometimes. You can skirt this by setting the display to none (display:none) on the dialog div you made, but then when you actually do load up the dialog after someone clicks an anchor, or whatever, the content of the div doesn’t show up because the child divs have all inherited the display:none;

Just call the show method after the dialog load to skirt this.

$(“#detailPopin”).dialog(‘open’);
$(“#detailPopin”).show();

  1. Todd Rafferty Said,

    Chain that puppy. $(‘#detailPopin”).dialog(‘open’).show();

    🙂

Add A Comment