how to make a function run on page load code example
Example: run on load js
function codeAddress() {
alert('ok');
}
window.onload = codeAddress;
function codeAddress() {
alert('ok');
}
window.onload = codeAddress;