Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <title>test</title>
- <script type="text/javascript">
- var i = 0;
- function writeIt() {
- i++;
- var start = Date.now();
- var element = document.getElementById("test");
- if (element) {
- while (Date.now() < start + 15000) {
- element.innerHTML = i;
- i++;
- }
- }
- }
- function startIt() {
- writeIt();
- //setTimeout(writeIt, 1000);
- }
- //window.onload=startIt();
- </script>
- <body>
- <div id="test"></div>
- <script>
- startIt();
- </script>
- </body>
- </html>
- WebBrowser1.Navigate('http://myurl.com/test.html');
Add Comment
Please, Sign In to add comment