buat pesan setelah 3 detik


<!DOCTYPE html>
<html>
<body>

<p>Click the button to wait 3 seconds, then alert "Hello".</p>
<button onclick="myFunction()">Try it</button>

<script>
function myFunction()
{
setTimeout(function(){alert("Hello")},3000);
}
</script>

</body>
</html>

buat pesan setelah 3 detik buat pesan setelah 3 detik Reviewed by Syawaluddin Amin, S.Kom on April 24, 2013 Rating: 5

Tidak ada komentar:

Diberdayakan oleh Blogger.