if (document.all) {
// Assume that we are in IE; provide special logic
}
// Assume that we are in a modern browserHTMLAllCollection / notebook
HTMLAllCollection
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.