Search
 
SCRIPT & CODE EXAMPLE
 

HTML

function html js

<a id="myElem" href="javascript:myFunction()">Button Text</a>

<script type="text/javascript">
 function myFunction()
 {
     console.log('myFunction triggered!')
     secondFunction()
 }

 function secondFunction()
 {
     console.log('second function triggered!')
 }
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: html space between words 
Html :: html form label 
Html :: how to defualt volume at 50% of video html 
Html :: px in react is different from html file 
Html :: how to add a blinking text in html 
Html :: html how to play gifs 
Html :: types of buttons in html 
Html :: readme.md relative link 
Html :: col md flex column 
Html :: html data-target modal 
Html :: less css 
Html :: responsive html script 
Html :: Tab Html CSS [Bootstrap] 
Html :: html a link tag 
Html :: link tag 
Html :: convert element to html string 
Html :: HTML5 Video tag not working in Safari , iPhone and iPad 
Html :: muted not working in video tag angular 
Html :: using local image in html meta tag 
Html :: HTML how to create texts in body 
Html :: place a convert to pdf button in html 
Html :: html a tag 
Html :: bootsrap card 
Html :: country select in bootstrap form 
Html :: html input 
Html :: large text class 
Html :: sell html templates 
Html :: input datetime without time 
Html :: favicon 
Html :: pdf download button 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =