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

  • Home
  • SEARCH
  • 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 6588085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:00:07+00:00 2026-05-25T17:00:07+00:00

Edited to add the solution suggested by @alistair-laing.) After reading this post reply by

  • 0

Edited to add the solution suggested by @alistair-laing.)
After reading this post reply by @jek, I could make multiple links on my page that would pass an id variable through the URL so that the content of the dialog could be loaded in on the fly. However, I really want this to be a modal dialog:
(edited to include the fix; nb: the original script was in the post linked to above, all I did was break it)

$(function (){
  $('a.ajax').click(function() {
   var url = this.href;
   var dialog = $('<div style="display:none"></div>')
   .appendTo('body')
  // load remote content
   dialog.load(
     url, 
     {},
     function (responseText, textStatus, XMLHttpRequest) {
        dialog.dialog({ 
        modal: true,
        width: 500
      });
    }
   );
   //prevent the browser to follow the link
   return false;
 });
});
  • 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-25T17:00:08+00:00Added an answer on May 25, 2026 at 5:00 pm

    quiet a few things. Try move the content from your first .dialog into your second .dialog which you call as part of the the .load callback. What youare doing is creating dialog then injecting content into it only to call it again. You could also remove the the autoOpen so that the dialog opens with the content.

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

Sidebar

Related Questions

Edited to Add * I haven't found a solution for this one yet, can
Edited: SOLUTION FOUND. This is strange and not the best solution, but I just
[Edited: After cross-testing on a fresh machine and some additional research, this appears to
Note: I edited this question to make it easier for other people with the
Edited Question: This should be clear. using System; namespace UpdateDateTimeFields { class Program {
--edited for clarity (hopefully) I have an XML file that looks something like this:
edited, this is it function handleDate( timestamp ) { var n=new Date(), t, ago
I've heavily edited this question because responses indicated I wasn't being clear problem: UI
This is my first time using an XML config file. In the solution explorer
Edited to add more details: (originally asked nearly two months ago...still haven't found a

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.