I have an Html page containing multiple div, something like that :
<div id="div1">div1</div>
<div id="div2">div that contains youtube videos </div>
<div id="div3">div3</div>
I want to execute the #div2 after the page is loaded, is there any way to do that.
PS: I want to load the whole page firstly after that I want to load the #div2 ( and that because #div2 contains youtube videos which make the load very slow.
I find some code examples :