Note that there are some explanatory texts on larger screens.

plurals
  1. POA simple modal is not working in Firefox 3 and Internet Explorer 7
    primarykey
    data
    text
    <p>I am using the simple modal and <a href="http://en.wikipedia.org/wiki/Ajax_%28programming%29" rel="nofollow noreferrer">Ajax</a>. When I try to read the content from Ajax it works fine in Chrome. There is a problem in Internet&nbsp;Explorer&nbsp;7 and Firefox 3.</p> <p>What am I doing wrong?</p> <h3>My code:</h3> <pre><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 </code></pre> <p>I am able to read the data in file <code>my.php</code>, but all the content is hidden when it is showing modal in Internet&nbsp;Explorer&nbsp;7 and Firefox 3. Chrome shows the Ajax data correctly.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload