+ 3
How can I conbine a button in HTML with a javascript code (e.g. an alert box)?
I am programming a simple Thing but I want to Combine a button with a JavaScript code
1 Odpowiedź
+ 6
<button onclick="alert('hello world!')">click me</button>
I am programming a simple Thing but I want to Combine a button with a JavaScript code