Re: [jquery-ui] jQuery dialog add/remove button on the fly

2010-06-29 Thread cloudsuser
I have four buttons, Start,Stop,Terminate,Reboot Example: When i click start button i will get dialog box which contains Start button and Cancel button. As soon as when i clicked Start button i will hide Start button and Cancel button and i will show only Close button with staic message as "In p

Re: [jquery-ui] jQuery dialog add/remove button on the fly

2010-06-27 Thread cloudsuser
Thanks man. I am looking for Same functionality inside the dialog box. (The button should be inside the dialog box). sorry for this help, i am new to jquery. -- View this message in context: http://old.nabble.com/jQuery-dialog-add-remove-button-on-the-fly-tp22036498s27240p29005278.html Sent fro

Re: [jquery-ui] jQuery dialog add/remove button on the fly

2010-06-27 Thread cloudsuser
Could you please share your full working code(hiding buttong or showing dynamic button) cjdell wrote: > > Here is the code to do what you ask: > > $.extend($.ui.dialog.prototype, { > 'addbutton': function(buttonName, func) { > var buttons = this.element.di