0

Fill in the blanks to call func() when the button is clicked

<button onclick="___()"> click here</button>

27th Mar 2018, 2:47 PM
Jaylee Jenkins
Jaylee Jenkins - avatar
7 odpowiedzi
+ 2
<button onclick ="func()"> Click Here </button>
10th Feb 2020, 7:55 AM
Pranjal Singh
Pranjal Singh - avatar
+ 1
<button onclick ="msg()">Click me</button> <script> function msg() { alert("Hi!"); } </script>
28th Jun 2020, 8:12 AM
Faith Mundi
Faith Mundi - avatar
0
It can be done, but depending on how you get the name, could be dangerous. How would you like to get the name?
27th Mar 2018, 4:47 PM
John Wells
John Wells - avatar
0
<button onclick ="func()"> Click Here </button>
19th Aug 2018, 7:27 AM
Azharo
Azharo - avatar
0
<button onclick ="func()"> Click Here </button>
16th Sep 2019, 9:23 AM
ISINGIZWE GASANA Aline
ISINGIZWE GASANA Aline - avatar
0
Ahmed Raza Chandio <button onclick ="func()"> Click Here </button>
5th Mar 2022, 11:13 AM
Ahmed Raza
Ahmed Raza - avatar
- 1
<button onclick ="func()"> Click Here </button>
23rd Feb 2021, 3:46 PM
K.Mesbah
K.Mesbah - avatar