Document compatMode : document « Javascript Objects « JavaScript DHTML

JavaScript DHTML
1. Ajax Layer
2. Data Type
3. Date Time
4. Development
5. Document
6. Dojo toolkit
7. Event
8. Event onMethod
9. Form Control
10. GUI Components
11. HTML
12. Javascript Collections
13. Javascript Objects
14. Javascript Properties
15. jQuery
16. Language Basics
17. Node Operation
18. Object Oriented
19. Page Components
20. Security
21. Style Layout
22. Table
23. Utilities
24. Window Browser
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorial
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
JavaScript DHTML » Javascript Objects » document 
Document compatMode

    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3c.org/TR/html4/loose.dtd">
<html>
<head>
<script language="JavaScript">
    function function1() {
        alert(document.compatMode);
    
</script>
</head>
<body>
<button onclick ="function1();">CompatMode</button>
</body>
</html>

    
      
      
Related examples in the same category
1. 'expando' Example
2. Active Element
3. Document 'URLUnencoded' Example
4. 'URL' Example
5. Create a Comment
6. 'write()' Example
7. 'writeln()' Example
8. Execute Command
9. Document parentWindow
10. Document referrer
11. Document design Mode
12. Document doctype
13. Document Domain
14. Document title Example
15. Document Link color
ww_w_.___j___a__v___a___2_s.c_o__m__ | |Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.