title: A simple modal is not working in Firefox 3 and Internet Explorer 7
body: <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 Explorer 7 and Firefox 3.</p>
  <p>What am I doing wrong?</p>
  <h3>My code:</h3>
  <pre><code>print(&quot;code sample&quot;);
  
  $(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 &quot;yes&quot; action
          alert(&quot;OK&quot;);
          confirm(&quot;Hello&quot;);
      });
  });
  
  function confirm(message) {
      $('#confirm').modal({
          close: false,
          position: [&quot;8%&quot;,],
          overlayId: 'confirmModalOverlay',
          containerId: 'confirmModalContainer',
          onShow: function (dialog) {
              dialog.data.find('.message').append(message);
              // If the user clicks &quot;yes&quot;
              dialog.data.find('.yes').click(function () {
                  // Close the dialog
                  $.modal.close();
                  $.get(&quot;My.php&quot;, function (data) {
                      $('#resp').modal({
                          close: false,
                          position: [&quot;8%&quot;,],
                          overlayId: 'confirmRespOverlay',
                          containerId: 'confirmRespContainer',
                          onShow: function (second) {
                              var test = &quot;hello&quot;;
                              second.data.find('.info').append(data);
                              second.data.find('.yes').click(function () {
                                  alert(&quot;Double OK&quot;);
                              });
                          }//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 Explorer 7 and Firefox 3. Chrome shows the Ajax data correctly.</p>