Is putting the javascript before the closing body tag okay on an asp.net website?
Posted
by
Jason Weber
on Stack Overflow
See other posts from Stack Overflow
or by Jason Weber
Published on 2012-11-03T04:32:28Z
Indexed on
2012/11/03
5:00 UTC
Read the original article
Hit count: 159
I pretty much stated what I have to ask. But is taking all of your external .js files and putting them before the closing body tag on your master pages okay on an asp.net website?
I'm just going off of what yslow and google speed have been showing. I can't combine these javascripts, so I'm trying to load them "after page load", but doing so makes them useless; some of my jquery things don't work.
I moved my .js files above the opening body tag, and they work. What am I doing wrong? And what could I do to load my .js files after page load? Thanks for any advice anybody can offer!
© Stack Overflow or respective owner