call javascript function automatically 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();