1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/js/ready.html
2024-09-24 21:43:10 +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>