before 8.32
This commit is contained in:
parent
655633a57e
commit
9a6f3a0a85
6 changed files with 60 additions and 52 deletions
|
|
@ -3,6 +3,11 @@
|
|||
<head>
|
||||
<title>Page Title</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="begin"> begin </div>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
function readFile(filePath) {
|
||||
var result = null;
|
||||
|
|
@ -16,12 +21,16 @@
|
|||
return result;
|
||||
}
|
||||
|
||||
console.log("Test readFile " + readFile("?test-hurr"))
|
||||
|
||||
function RereshAll(){
|
||||
var str_out = readFile("?machine");
|
||||
console.log("Test readFile " + str_out)
|
||||
document.getElementById("begin").innerHTML = str_out;
|
||||
}
|
||||
|
||||
|
||||
setInterval( RereshAll, 1000);
|
||||
</script>
|
||||
<body>
|
||||
|
||||
<h1>This is a Heading</h1>
|
||||
<p>This is a paragraph.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue