Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript">
- function funk()
- {
- file = fopen(getScriptPath("info.txt"), 0);
- file_length = flength(file);
- var content = fread(file,file_length);
- var div = document.getElementById("myDiv");
- //alert(div);
- div.innerHTML = "";
- div.innerHTML = content;
- }
- </script>
- </head>
- <body onload="funk()">
- <div id="myDiv">
- </div>
- </body>
- <html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement