If you have JS code which is intended to run as part of loading/building the page, where in the HTML should this go? For instance modifying a or add
or add
I'd put it in a separate .js file and wrap the code so it is executed after the DOM is loaded. If you use a framework like jQuery or Prototype this should be easy.
.js