JavaScript Event

Sunny.Sagar
Posted by Sunny.Sagar under JavaScript category on | Points: 40 | Views : 1084
<body>
<button onclick="getElementById('Example').innerHTML=Date()">The time is?</button>

<p id="Example"></p>
</body>


Run the code in browser

Comments or Responses

Login to post response