how to load js before pageload
we dont want content of page to load but when html code is loaded want to trigger the function
currently using onload is typing a message.
need an alternative to onload which triggers before page is fully loaded
we need the js solution
i want to call function when dom is loaded
29 freelancer bu iş için ortalamada 34$ teklif veriyor
Hi. It is easy, you are asking about JQuery functions: $(document).ready(...) - it runs after DOM is loaded $(window).load(...) - after all content loaded, including images. Let me help you :)