javascript - Put Scripts at the Bottom -


yslow recommends should put scripts @ bottom of page.

where should put them, after body end tag?

my whole site runs in jquery, javascript files needed @ beginning. if move them end, might stop site working. being case, instead should put these scripts best performance?

you should put them right before closing body tag. make sure scripts being initiated using

$(document).ready() 

and should have no issues.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -