daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5.         <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
  6.         <title>PhoneGap Console</title>
  7.        
  8.         <link rel="stylesheet" type="text/css" href="style.css" />
  9.        
  10.         <script type="text/javascript">            
  11.             function onLoad() {
  12.                 var counter = 0;
  13.                 var id = setInterval(function() {
  14.                     counter++;
  15.                     console.log("Hello from console.log " + counter);
  16.                 }, 350);
  17.                
  18.                 setTimeout(function() {
  19.                     clearTimeout(id);
  20.                 }, 5000);
  21.             }
  22.         </script>
  23.     </head>
  24.     <body onload="onLoad();">
  25.         <ul id="console"></ul>
  26.         <script type="text/javascript" src="phonegap-console.js"></script>
  27.     </body>
  28. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top