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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:24:52+00:00 2026-06-12T11:24:52+00:00

I want to load a page into jQuery Dialog plugin (by using that code

  • 0

I want to load a page into jQuery Dialog plugin (by using that code jQuery: Load Modal Dialog Contents via Ajax) In that page user will select some data. After the selection, when he closes the Dialog window, I need to retrieve the user’s selected data from that Dialog window. How can I do that ?

  • 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-12T11:24:53+00:00Added an answer on June 12, 2026 at 11:24 am

    First thing you want to do is have the values saved when the dialog closes. Let’s say this is the page you are loading:

    <input type="text" id="text1" name="text1" /><br />
    <input type="text" id="text2" name="text2" /><br />
    <a href="#" id="dialog_submit_button">Click</a>
    

    Then when you load the dialog, you should add this:

    jQuery('#dialog').dialog({
        // all you other stuff
        close: function(){
            var in1 = $('#text1').val();
            var in2 = $('#text2').val();
            jQuery.dialog_info = {
                input1 : in1,
                input2 : in2
            }
        }
    });
    

    Now, those text values can be pulled anytime you need in the rest of the code with

    var value1 = jQuery.dialog_info.input1;
    var value2 = jQuery.dialog_info.input2;
    

    Hope that helps

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

Sidebar

Related Questions

I'm loading some content into a jquery-ui dialog via .ajax. That's all working fine
i have a web page that i want to load dynamically (ajax) into a
I want to load google.com into a page in my site. I tried using
I have an Ajax control that is loaded into a Yahoo popup using jQuery.
I have an javascript that I place into a page using the code below.
I'm using jquery.history lugin found here: http://tkyk.github.com/jquery-history-plugin/ With this i load content into a
I'm using the jQuery load() event to load a page into an iframe. The
Hello Friends check my code http://jsfiddle.net/sUaky/2/ i want to load a web page in
I have a page http://www.mysite.com/image.aspx , that I want to load and display an
I am trying to load an external jquery page into a div. I use

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.