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 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 am serializing a class using simple-xml ( http://simple.sourceforge.net/ ) but when i try
Whenever I try to copy an entire working copy using simple drag and drop
The problem is simple: Using bash, I want to add a directory to my
I am using Simple Modal with asp.net MVC. I have set it up using
I'm using SimpleModal plugin ( http://www.ericmmartin.com/projects/simplemodal/ ) for generating a simple modal dialog. Now
I am using the project 'ModalBox' from http://okonet.ru/projects/modalbox/index.html in order to generate my modal.
I want to scrape some information off a football (soccer) web page using simple
First, let's get the security considerations out of the way. I'm using simple authentication
I'm using this simple regular expression to validate a hex string: ^[A-Fa-f0-9]{16}$ As you
I am using a simple regex to replace break tags with newlines: br_regex =

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.