Get the rendering mode of the current document. Return values: BackCompat (quirks mode) and CSS1Compat (standards mode).
Since IE 8 has as many as five rendering modes, determining whether it is a quirk mode requires additional detection with the help of IE’s unique document.documentMode
See this article http://www.jb51.net/article/21717.htm
Returns the loading status of the document: uninitialized, loading, loaded, interactive, complete. All browsers support this attribute (supported by FF3.6 and above).
In standard browsers, ordinary HTML elements do not have this attribute (except Opera's script tag).
The ready function in jQuery uses the complete status value to determine whether the DOM tree is loaded
Compare the document position of the current node with the specified node IE9 supports this method
For detailed information, see http://www.jb51.net/article/28281.htm
IE unique method, simulates user scroll bar click; jQuery uses this method to detect whether the DOM tree is available in IE6.
Non-IE can use obj.scrollTop =10; applicable elements include html, body, div, span, textarea, etc.
For more information, see http://msdn.microsoft.com/en-us/library/ms536414(VS.85).aspx
The execScript function has the same function as eval. The difference is that the scope of the script after the eval function is executed is the current execution context, while execScript always targets the global scope.
The functions of eval and window.eval in IE are the same. The script scope executed by window.eval is also the current execution context.