Just curious if there's an easy way to add functions to the $(window).load()
event before it has fired. For example, if you call $(window).load()
twice in the beginning of the page, only the function of the second call will execute onload
.
Is there some sort of tool built into jQuery for adding to the onload
event instead of replacing it? If so, how about for the $(document).ready()
call?