Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document.getelementbyid.onclick

        <script>
            document.getElementById("myBtn").onclick = function() {
                alert("Hello World");
            }
        </script>
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+9 =