开发者

Javascript document loading event

开发者 https://www.devze.com 2023-03-27 14:25 出处:网络
Is there any javascript document lo开发者_运维问答ading event which which will activate after: the html is loaded but the not displayed in the browser?HTML is displayed as it loads, so no, there\'s no

Is there any javascript document lo开发者_运维问答ading event which which will activate after: the html is loaded but the not displayed in the browser?


HTML is displayed as it loads, so no, there's not an event like that. Are you perhaps looking for something like jQuery's $(document).ready()[API Ref] event?

If not that, then give us a little more context and we'll try to help you out.


You could load the HTML through an AJAX call and display it when you feel like it, but that would be a (slightly) more manual process.

0

精彩评论

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

关注公众号