20 lines
512 B
HTML
20 lines
512 B
HTML
<!DOCTYPE HTML>
|
|
<html lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<title>domReady test</title>
|
|
<script src="../src/ready.js"></script>
|
|
<script type="text/javascript">
|
|
domready(function () {
|
|
document.getElementById('title').innerHTML = 'domready'
|
|
domready(function () {
|
|
document.getElementById('title').innerHTML += '✓'
|
|
})
|
|
})
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1 id="title"></h1>
|
|
</body>
|
|
</html>
|