0
plz answer need help
how does the on click element work and i use it to execute other th8ngs if so can you list a few
2 odpowiedzi
0
<button onclick="c()">Click Me</button>
<p id="c"> </p>
<script>
function c()
{
document.getElementById("c").innerHTML = "You clicked that button";
}
</script>
0
thanks you for showing how it works now can you explain it