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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:41:45+00:00 2026-05-11T00:41:45+00:00

I am using the simple modal and Ajax . When I try to read

  • 0

I am using the simple modal and Ajax. When I try to read the content from Ajax it works fine in Chrome. There is a problem in Internet Explorer 7 and Firefox 3.

What am I doing wrong?

My code:

print("code sample");  $(document).ready(function () {     $('#confirma, #confirmDialog a.confirm').click(function (e) {         e.preventDefault();          // Example of calling the confirm function.         // You must use a callback function to perform the "yes" action         alert("OK");         confirm("Hello");     }); });  function confirm(message) {     $('#confirm').modal({         close: false,         position: ["8%",],         overlayId: 'confirmModalOverlay',         containerId: 'confirmModalContainer',         onShow: function (dialog) {             dialog.data.find('.message').append(message);             // If the user clicks "yes"             dialog.data.find('.yes').click(function () {                 // Close the dialog                 $.modal.close();                 $.get("My.php", function (data) {                     $('#resp').modal({                         close: false,                         position: ["8%",],                         overlayId: 'confirmRespOverlay',                         containerId: 'confirmRespContainer',                         onShow: function (second) {                             var test = "hello";                             second.data.find('.info').append(data);                             second.data.find('.yes').click(function () {                                 alert("Double OK");                             });                         }//onShow                     }); //Resp                 });             });//Click         }// Onshow     });//Modal } //Confirm 

I am able to read the data in file my.php, but all the content is hidden when it is showing modal in Internet Explorer 7 and Firefox 3. Chrome shows the Ajax data correctly.

  • 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. 2026-05-11T00:41:45+00:00Added an answer on May 11, 2026 at 12:41 am

    It may work if you change

    second.data.find('.info').append(data); 

    to

    second.data.find('.info').append(data).show(); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using SimpleModal plugin ( http://www.ericmmartin.com/projects/simplemodal/ ) for generating a simple modal dialog. Now
I have a simple form created using Ajax.BeginForm : <% using (Ajax.BeginForm(Update, Description, new
I am using Asp.net MVC3 and trying to do a simple Ajax post to
I am using Simple Modal with asp.net MVC. I have set it up using
We have implemented a simple chat room feature in Rails using Simple Ajax updates.
I have a simple view that I'm using to experiment with AJAX. def get_shifts_for_day(request,year,month,day):
I'm using ajax requests to populate modal popup windows with data that users have
I'm using the colorbox modal plugin (http://colorpowered.com/colorbox/) I've got a simple form sitting in
I have a simple Poco-Model using abstract classes, and it seems not to work
Our company is currently using a simple trunk/release/hotfixes branching model and would like advice

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.