Advertisement
Srxon05

Untitled

Jan 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.37 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type="text/javascript">
  4. function funk()
  5. {
  6. file = fopen(getScriptPath("info.txt"), 0);
  7.  
  8.  
  9. file_length = flength(file);
  10. var content = fread(file,file_length);
  11. var div = document.getElementById("myDiv");
  12. //alert(div);
  13. div.innerHTML = "";
  14. div.innerHTML = content;
  15. }
  16. </script>
  17. </head>
  18. <body onload="funk()">
  19. <div id="myDiv">
  20. </div>
  21. </body>
  22. <html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement