0
What is Code of onclick button function
4 odpowiedzi
+ 6
<button onclick="clickEvent()">Click this button ...</button>
<script>
function clickEvent(e) {
alert('Hi! thanks for clicking the button.');
}
Paste this on HTML document body, you can add more code inside clickEvent function by yourself to play around with it, if it was not what you're looking for, then you may need to explain better your question.
+ 1
Thanks a lot
0
You're welcome my friend, keep on learning : )
0
You're welcome my friend, keep on learning : )