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 8927411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:13:08+00:00 2026-06-15T08:13:08+00:00

I have a jquery dialog and from this one, i open another dialog, where

  • 0

I have a jquery dialog and from this one, i open another dialog, where user insert some data. How can I update this user data from the second dialog to the first one, without closing them?

Is this possible? Are some examples in the web?

Thanks in advance


ok so this is my script, which opens the second dialog. I open this dialog with a link, which calls a function in my mvc controller, and this returns the partial view with the datas…

 <script type="text/javascript">
       $(document).ready(function () {
           $("#dialog2").dialog({
                  bgiframe: false,
                  autoOpen: false,
                  height: 200,
                  resizable: false,
                  modal: true,
                  buttons: {
                  OK: function () {
                       $("#dialog2 > form").submit();
                       $(this).dialog('close');
                 },
                  Abbrechen: function () {
                       $(this).dialog('close');
                   }
                   }
                  });
                $('#changePW').click(function () {
            $('#dialog1').dialog('open')    
             });
           });
      </script>

@Roysvork: then I have to but this in the buttons OK function?

  • 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-06-15T08:13:09+00:00Added an answer on June 15, 2026 at 8:13 am

    As a dialog is simply an html element underneath, you can still access said element using jQuery in the usual fashion:

    var dialog1 = $("#dialog1");
    var dialog2 = $("#dialog2");
    
    dialog1.dialog("show");
    dialog2.dialog("show");
    

    So in your event handler for dialog 1 you can just do :

    var value = dialog2.find("#inputbox").val();
    dialog2.find("#textbox").val(value) ;
    

    etc…

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

Sidebar

Related Questions

i have one jquery dialog which can show after click radiobutton. last time it
I have learned how one can open jQuery UI dialogs via KnockoutJS custom bindigns
I have the following Jquery that returns values from a dialog Box and fills
I have a jquery dialog as follows - <div data-role=dialog id=msg-popup> <div data-role=header> <h1>Notification</h1>
I've got some links I want to have dynamically open in a jQuery UI
Good morning. I have a modal JQuery dialog that on Open calls and loads
I have this code for a JQuery a dialog for a div containing a
I have a textbox and a Jquery UI dialog. When a user is done
I have JQuery UI Dialog opening on pressing CTRL + Q using the following
I have jquery ui dialog box, and I want to resize it by the

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.