Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript onclick

<script>
  function activateLasers () {
  	//... your code to activate the lasers
	console.log ("Lasers Activated") 
  }
</script>

<button onclick="activateLasers()">
   Activate Lasers
</button>
Source by pretagteam.com #
 
PREVIOUS NEXT
Tagged: #javascript #onclick
ADD COMMENT
Topic
Name
5+3 =