Answers for "onclick html to run another html onclikc"

9

javascript click event

<button onclick="myFunction()">Click me</button>

<p id="demo"></p>

<script>
function myFunction() {
  document.getElementById("demo").innerHTML = "Hello World";
}
</script>
Posted by: Guest on April-10-2020
0

onclick html to run another html onclikc

man its not that i wanted answer thougt :D
Posted by: Guest on June-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language