Re: [jquery-ui] Change dialog buttons

2010-05-25 Thread mooredynasty
My dialog modeled after Richard's examples displays and responds to buttons. Unfortunately it's always positioned at 0, 0 in the browser window. Any ideas? var $dialog = $('') .html('my message') .dialog({ autoOpen: false, title: 'my title', position: 'cente

[jquery-ui] Change dialog buttons

2009-02-04 Thread Xobb
Hello guys, I'm new to jQuery UI. I have the interface that can use only one dialog at once, but the dialog buttons need to be changed depending on the method that initiated the dialog. This is how I define th dialog: $('#dialog').dialog({ bgiframe: true, autoOpen: false,