JavaScript Reference/Javascript Objects/implementation

Материал из Web эксперт
Перейти к: навигация, поиск

"implementation" Example

    
<html>
<head>
<script language="JavaScript">
function function1() {
   var m = document.implementation.hasFeature("HTML");
   alert("Implementation value: "+m); 
}
</script>
</head>
<body>
<input type="button" value="Click here" onClick="function1();">
</body>
</html>



"implementation" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |document                                                      |
+----------------+--------------------------------------------------------------+



"implementation" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |hasFeature                                                    |
+----------------+--------------------------------------------------------------+



"implementation" Syntax and Note

Note:
Reveals information about the DOM features.
    
Syntax:
    
document.implementation.memberName