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