1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/ready.html
2024-06-06 21:30:06 +02:00

20 lines
338 B
HTML

<html>
<head>
<!--<script src="jquery.js"></script>-->
</head>
<body>
<div id="test">A</div>
<script>
function ff()
{
document.removeEventListener("DOMContentLoaded", ff);
alert(document.readyState);
}
document.addEventListener("DOMContentLoaded", ff);
//$(document).ready(function(){
// alert('READY');
//});
</script>
</body>
</html>