开发者

$(window).load() inside function

There are many dimensional functions, inside one of them we need to use onload event (do something when开发者_运维问答 page is loaded).

The problem is the code inside $(window).load(function(){}); doesn't work. But it works outside the function.

Whats the problem?


The event which triggers that function has already passed when the function containing the event listener gets executed?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜