0
Fill in the blanks to call func() when the button is clicked
<button onclick="___()"> click here</button>
7 Respuestas
+ 2
<button onclick ="func()">
Click Here
</button>
+ 1
<button
onclick
="msg()">Click me</button>
<script>
function
msg() {
alert("Hi!");
}
</script>
0
It can be done, but depending on how you get the name, could be dangerous. How would you like to get the name?
0
<button onclick ="func()">
Click Here
</button>
0
<button onclick ="func()">
Click Here
</button>
0
Ahmed Raza Chandio
<button onclick ="func()">
Click Here
</button>
- 1
<button onclick ="func()">
Click Here
</button>