daveVk - 12:05 am on Nov 14, 2012 (gmt 0)
The rules on what DOM operations are safe prior to onload are unclear to me.
Conservative practice is to wait for onload.
Some operations clearly work prior to onload and are a better alternative to document.write().
With practice of putting js at end of body (or even higher), is waiting for onload obsolete ?