jquery/test/data/core/onready.html
Dave Methvin 80e3dfa6ba Core: Do not run window.onready when ready
Fixes #14802
(cherry picked from commit 2df1aad6a1)
2014-03-04 21:50:43 -05:00

24 lines
515 B
HTML

<!doctype html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>alias-masked DOM properties (#14074)</title>
<script>
var error = false;
window.onready = function() { error = "Called window.onready"; };
</script>
<script src="../../jquery.js"></script>
</head>
<body>
<form>
<input type="text" id="nodeName"/>
</form>
<script>
jQuery(function() {
setTimeout( function() {
window.parent.iframeCallback( error );
});
});
</script>
</body>
</html>