phone call function javascript code example
Example 1: js onclick open the phone application
<a href="tel://+1234567890">Call Me</a>
Example 2: running a function in a function javascript
function runFunction() {
myFunction();
}
function myFunction() {
alert("runFunction made me run");
}
runFunction();