Skip to content

Replace document.write using MooTools subtlegradient.com · Originally posted on Pinboard

Maybe you want to use AJAX to load a script that requires the use of document.write. But after teh page has loaded document.write tends to destroy the universe without even asking first! Solution: Replace document.write!