Closed paulirish closed 13 years ago
I agree, document.write isn't the best way to watch for DOM ready events.
Originally, I used Diego's doScroll() trick but it failed if selectivizr was used in any content loaded into an iframe, so I had to revert back to Dean Edwards technique as it was causing issues for some users.
I'm open to suggestions.
Ah interesting. I'll tweak the issue title.
Diego has been in touch.
I have a new version of his DOMContentLoaded script to test :)
Closing this issue as it's become a dupe of issue #4
this old dean edwards snippet was used in jquery but was removed due to edge case incompatibilities.
the doScroll basic check from diego perini (called IEContentLoaded) is much safer.