diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-05-04 13:31:35 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-05-04 13:31:35 -0400 |
commit | 714b8ffd2b28af446fea8f25e369597d7c509cb4 (patch) | |
tree | a5236d88b0e8406439ad7a1ea5d49da60b492018 /test/data | |
parent | f925c7a1c93afd7eae1edcf540e9d4374b2aa27b (diff) | |
download | jquery-714b8ffd2b28af446fea8f25e369597d7c509cb4.tar.gz jquery-714b8ffd2b28af446fea8f25e369597d7c509cb4.zip |
reduce complexity of ready further, and try manipulating DOM to make sure we're really ready
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/event/asyncReady.html | 1 | ||||
-rw-r--r-- | test/data/event/syncReady.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/data/event/asyncReady.html b/test/data/event/asyncReady.html index e32ff9cfb..0b389d854 100644 --- a/test/data/event/asyncReady.html +++ b/test/data/event/asyncReady.html @@ -14,6 +14,7 @@ if ( document.attachEvent ) { el.type = "text/javascript"; el.onload = function() { jQuery( document ).ready(function() { + jQuery("body").append("<div>modifying DOM</div>"); window.parent.iframeCallback( true ); }); } diff --git a/test/data/event/syncReady.html b/test/data/event/syncReady.html index df66bc623..1b85ce0a8 100644 --- a/test/data/event/syncReady.html +++ b/test/data/event/syncReady.html @@ -8,6 +8,7 @@ <body> <script type="text/javascript"> jQuery( document ).ready(function () { + jQuery("body").append("<div>modifying DOM</div>"); window.parent.iframeCallback( true ); }); </script> |