Posted by : Unknown Kamis, 28 Desember 2017

Agan copy aja code ini trus pelajari
<!DOCTYPE html>
<html>
<body>
<button onclick="fungsiTombol()">button 1</button>
<div id="tampil"></div>
<script>
function fungsiTombol(){ document.getElementById("tampil").innerHTML = "<button>button2</button>";
}
</script>
</body>
</html>

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © BLOG GUE WANGI - Blogger Templates - Powered by Blogger - Designed by Johanes Djogan -