Knowledge Walls
Ammu
Hyderabad, Andhra Pradesh, India
Passcode:
JavaScript Timing Events in BOM of Javascript 1
1017 Views
Timing
<!DOCTYPE html>
    <html lang="en-US">
        <head>
            <meta charset="UTF-8">
            <title>Time</title>
        </head>
        <body>
            <p>Current time:<span id="time"></span></p>
            <script>
               function set(){
                   document.getElementById("time").innerHTML=new Date();
               }
                
                set();
                //setInterval(set,1000);
                setTimeout(set,3000);
            </script>
        </body>
    </html>
Next Topics
Next lessons of current book.
Previous Topics
Previous lessons of current book.
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Best Lessons of "Javascript 1"
Top lessons which are viewed more times.
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
Examples of Javascript 1
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details