document.compatMode
In this chapter you will learn:
document.compatMode
document.compatMode
returns compatibility mode for the document.
<!DOCTYPE HTML> <!--from j av a2 s.co m-->
<html>
<body>
<script>
document.writeln("<pre>");
document.writeln("compatMode: " + document.compatMode);
document.write("</pre>");
</script>
</body>
</html>
Next chapter...
What you will learn in the next chapter:
Home » Javascript Tutorial » Document