View Full Version : Message Box Return Value
SimonMicheal
7 Mar 2007, 8:41 AM
How do i get a return value if the ok button or cancel button was clicked, when using a message box?
Thanks.
tryanDLS
7 Mar 2007, 8:49 AM
You can't just assign it to a variable e.g var rc = Ext.MessageBox(...). You have to provide a callback fn which takes the clicked button as an arg - refer to the example in the download.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.