You could call $(el).show().dialog(options)
or you could have the element inside a hidden element. When you call .dialog() it will be moved elsewhere. - Richard On Thu, Jul 17, 2008 at 4:24 PM, jeroen <[EMAIL PROTECTED]> wrote: > > Hi, > > On Jul 17, 4:06 pm, tlphipps <[EMAIL PROTECTED]> wrote: > > you should set the display property to none. > > i.e. <div id="example" style="display: none;"></div> > > I tried that, the dialog is now not shown before it is opened but now > the content of the dialog is not shown? > > regards, > > Jeroen >