I have JavaScript function , I want to run this function when webpage is completely loaded, But it\'s not working. here is my code
window.onload = function()