Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html button onclick

<script>
function myfunc() {
alert("hi!")
}
</script>
<button onclick="myfunc()">alert me</button>
 
PREVIOUS NEXT
Tagged: #html #button #onclick
ADD COMMENT
Topic
Name
9+7 =