invoke a js method in an html code example
Example: running a function in a function javascript
function runFunction() {
myFunction();
}
function myFunction() {
alert("runFunction made me run");
}
runFunction();
function runFunction() {
myFunction();
}
function myFunction() {
alert("runFunction made me run");
}
runFunction();