JavaScript Event

Sunny.Sagar
Posted by Sunny.Sagar under JavaScript category on | Points: 40 | Views : 267
<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