Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 713453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:57:47+00:00 2026-05-14T04:57:47+00:00

I have a modal dialog box presented in Yahoo UI. The user selects a

  • 0

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..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:57:48+00:00Added an answer on May 14, 2026 at 4:57 am

    Check out the documentation: http://developer.yahoo.com/yui/container/dialog/#events. The following code should do the trick:

    var firstDialog = new YAHOO.widget.Dialog('firstDialog', { postmethod: "manual" });
    
    firstDialog.manualSubmitEvent.subscribe(function (type, args) {
    
        var nextDialog = new YAHOO.widget.Dialog('nextDialog', {  });
    
        /* more configuration stuff... */
    
        nextDialog.render();
        nextDialog.show();
    
    });
    
    firstDialog.render();
    firstDialog.show();
    

    This handles when the form is to be submitted, which I think what you mean by selects a value, but if not let me know and I can give some help on that situation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SwingWorker thread that launches a modal dialog box (from a property
I have a link which I want to display a modal dialog box, containing
I have a modal dialog box with form. I want to reload the page
I have a datagrid column with a button that opens a modal dialog box
I have a JInternalFrame window that needs to popup a modal dialog box when
I have an application where I can launch a modal dialog box over a
I have the following HTML code for dialog box: <div id=modal-dialog class=no-display> <div class=form>
I have blinking text modal dialog box and slideshow with jquery. They working just
I have a hard time hiding a modal dialog box. What I am doing
The following example displays a modal dialog box when the user clicks the button.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.