What is the difference between "DOMContent Event" and DOMContentLoaded in Chrome?
In the developer tools th开发者_StackOverflow社区ere is a blue line called "DOMContent Event" is this the same as "DOMContentLoaded" in the JavaScript events?
It turns out "DOMContent Event" is from webkit (which chrome relies on) and is equivelant to DOMContentLoaded.
EDIT: As of now (July 2012, Chrome 20) Chrome is supporting "DOMContentLoaded" as well, so you can use this and be sure, that it will be correctly supported in both Chrome, FF, as good as Safari and other WebKit-based browsers (still not supported in IE, AFAIK).
精彩评论