Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- document.getElementById vs document.write?


daveVk - 12:29 pm on Nov 12, 2012 (gmt 0)


If it must be done prior to page onload use write() after onload use getElementById or similar.

Dom access prior to load may fail as the Dom if not fully loaded.


Thread source:: http://www.webmasterworld.com/javascript/4518258.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com