1
0

promiseReady.html 501 B

1234567891011121314151617
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <title>Test case for jQuery ticket #11470</title>
  6. <script src="../../jquery.js"></script>
  7. <script type="text/javascript">
  8. jQuery.when( jQuery.ready ).done(function() {
  9. jQuery("body").append("<div>modifying DOM</div>");
  10. window.parent.iframeCallback( $("div").text() === "modifying DOM" );
  11. });
  12. </script>
  13. </head>
  14. <body>
  15. <!-- empty body -->
  16. </body>
  17. </html>