how to play loading before a function is started code example
Example: run on load js
function codeAddress() {
alert('ok');
}
window.onload = codeAddress;
function codeAddress() {
alert('ok');
}
window.onload = codeAddress;