See http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/
Also, if you should have any more questions, note there's a separate list for jQuery UI: http://groups.google.com/group/jquery-ui - Richard On Tue, Dec 22, 2009 at 5:22 AM, Sir Rawlins < robert.rawl...@thinkbluemedia.co.uk> wrote: > Hello Guys, > > I'm using the jQuery UI plugin to create a modal dialog box to ensure > the user is ready to commit an action. The code sample can be found > here: > > http://pastebin.com/m1834215a > > Now, when the page first loads and I click <a id="cancel"> the dialog > box appears, however, if I close the dialog box and then click on the > link a second time, nothing happens. I have to reload the page before > being able to click on the link again. > > Can anyone suggest why this might be an issue? Surely it should open > consistently every time? > > Thanks, > > Robert >