How to make JavaScript execute after page load?

前端 未结 24 2401
孤城傲影
孤城傲影 2020-11-21 05:55

I\'m executing an external script, using a

24条回答
  •  面向向阳花
    2020-11-21 06:04

    
    

    This code works well.

    But window.onload method has various dependencies. So it may not work all the time.

提交回复
热议问题