I think I understand what you mean about the asynchronous nature of dialogs. I'm trying to create a reusable css-styleable confirmation dialog that I can call from various points in my code, in the same way the standard javascript confirm() dialog is called. Can you suggest a way to make this work? I'm not that well versed on them, but could I use a closure to make it work?
Thanks, Carl On Dec 17, 8:50 am, Scott González <[email protected]> wrote: > Dialogs are essentially asynchronous so the confirm function is > returning before the user clicks either button. You need to put the > logic for what to do inside the button functions. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
