ZVON > References > DOM2 Reference

hasFeature (method )

Owning interface and usage:  
DOMImplementation.hasFeature(feature, version)

Member of these other interfaces:  
none

Description:  
Test if the DOM implementation implements a specific feature.

Parameters:  
DOMString feature  -  The name of the feature to test (case-insensitive).
DOMString version  -  This is the version number of the feature to test. In Level 2, the string can be either "2.0" or "1.0". If the version is null or empty string, supporting any version of the feature causes the method to return true.

Returns:  
Boolean -  true if the feature is implemented in the specified version, false otherwise.

Exceptions:  
none


Example:
JavaScript:
  var output = document.implementation.hasFeature('HTML', '1.0');
Output:
desired your browser
(who knows :-)



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
answering service water softener MSN Alojamiento Web UNLIMITED Web Hosting by HostDepartment
VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE