jQuery equivalent of body onLoad

$(window).load(myfunc) is what you’re looking for. If you’re working with the load event of an iframe, you can replace window with the iframe element/selector.

Leave a Comment