<html>
<button id="ButtonId">
Click Here!
</button>
<script>
document.getElementById('ButtonId').onclick = function(e)
{
alert('clicked');
}
</script>
</html>
"Tech blog for code newbies, wizards and ninjas!"
<html>
<button id="ButtonId">
Click Here!
</button>
<script>
document.getElementById('ButtonId').onclick = function(e)
{
alert('clicked');
}
</script>
</html>
Code-blooded, coffee-lover, tall, dark and chubby. I love to draw, has motion-sickness and a sleepy-head. BTW, graduate of BS Computer Science, Associate in Computer Science and certified UiPath RPA Developer. Loyal to my partner and a father of a cute bouncing baby daughter! View more posts