code executed within window onload code example
Example: run on load js
function codeAddress() {
alert('ok');
}
window.onload = codeAddress;
function codeAddress() {
alert('ok');
}
window.onload = codeAddress;