How to "chain" modal dialogs in YUI 2 ?

Posted by giulio on Stack Overflow See other posts from Stack Overflow or by giulio
Published on 2010-03-25T23:40:07Z Indexed on 2010/03/25 23:43 UTC
Read the original article Hit count: 456

Filed under:
|
|
|

I have a modal dialog box presented in Yahoo UI. The user selects a value from dialog "A", and then I want to present another modal dialog box to collect some more data in dialog "B".

I have been using the YAHOO.widget.Dialog successfully. The problem seems to be that you can't initiate dialog window "B" from the handler function of dialog "A". So, how can you programmatically launch a second dialog window after the user hits the "OK" button on the first ?

(I had tried to create an additional Listener for a field that is updated in dialog "A" to trigger dialog "B" but this doesn't work either.)

Thanks..

© Stack Overflow or respective owner

Related posts about yui

Related posts about dialog