且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

jQuery相当于body onLoad

更新时间:2022-06-23 05:32:08

$(窗口).load(myfunc)是您正在寻找的。如果您正在使用iframe的load事件,则可以使用iframe元素/选择器替换 window

$(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.