mirror of
https://github.com/jquery/jquery.git
synced 2026-02-03 07:05:09 -05:00
reduce complexity of ready further, and try manipulating DOM to make sure we're really ready
This commit is contained in:
@@ -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 );
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user