2010-06-22 09:51:50 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
|
|
|
|
<title>Console test</title>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function test() {
|
|
|
|
var str = "Dolske Digs Bacon, Now and Forevermore."
|
|
|
|
for (var i=0; i < 5; i++) {
|
|
|
|
console.log(str);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.info("INLINE SCRIPT:");
|
|
|
|
test();
|
|
|
|
console.warn("I'm warning you, he will eat up all yr bacon.");
|
|
|
|
console.error("Error Message");
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2010-09-02 14:30:45 -07:00
|
|
|
<h1 id="header">Heads Up Display Demo</h1>
|
2010-06-22 09:51:50 -07:00
|
|
|
<button onclick="test();">Log stuff about Dolske</button>
|
2010-10-11 09:57:56 -07:00
|
|
|
<div id="myDiv"></div>
|
2010-06-22 09:51:50 -07:00
|
|
|
</body>
|
|
|
|
</html>
|