DIR : /home/kozerus/public_html/ko/timer5.html

/home/kozerus/public_html/ko

<html>
<head>
	<title>/ko/timer5.html 20230227_1800</title>

<script id=script_timer5>
	setInterval(myTimer0, 1000);
	function myTimer0() {
		const d = new Date();
		document.getElementById("div_timer0").innerHTML = d.toLocaleTimeString();
		} 
	</script id=script_timer5_end>

	</head>
<body bgcolor=linen>
	<div id=div_timer5>
		<h1>div_timer5_end</h1>
		<div id=div_timer5_end>
	<div id=div_timer0>
		<h1>div_timer0</h1>
		<div id=div_timer0_end>

<button onclick="clearInterval(myVar)">Stop time</button>

	<script>
		let myVar = setInterval(myTimer, 1000);
		function myTimer() {
			const d = new Date();
			document.getElementById("div_timer5").innerHTML = d.toLocaleTimeString();
			}
		</script> 
	
	</body>
	</html>
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer