Simon Willison’s Weblog

2 items tagged “documentwrite”

2007

DOMContentLoaded for IE, Safari, everything, without document.write. Stuart has taken Hedger’s recent IE technique, combined it with the others and compressed it in to a short-as-possible code snippet that you can paste in to your scripts without having to include the whole of jQuery/YUI/Dojo/Prototype. # 26th September 2007, 12:19 pm

Insert in place without document.write. Very neat trick, but I’d like to see more extensive reports on browser compatibility before committing to it. # 12th July 2007, 9:41 am