Slip no. 16 & Slip no. 24
Write a java script function to display Clock in the textbox.
HTML file :
<!DOCTYPE html>
<html>
<body>
<table border=1>
<tr><td><p id="demo"></p></td></tr>
</table>
<script>
document.getElementById("demo").innerHTML = Date();
</script>
</body>
</html>
0 Comments