document.ready inside body tag

前端 未结 2 1488
迷失自我
迷失自我 2021-01-13 12:19

I have a web app that has a universal HTML header include, so I\'d like to put page-specific scripts in each page instead of having it load for everything. I tried putting <

相关标签:
2条回答
  • 2021-01-13 12:40

    None. Just make sure everything is loaded in the proper order.

    0 讨论(0)
  • 2021-01-13 12:46

    Yahoo recommends putting all scripts at the end of your document for performance - http://developer.yahoo.com/performance/rules.html

    0 讨论(0)
提交回复
热议问题