/

HTML / CSS / JavaScript Tutorial

JavaScript DOM HTML method: isDefaultNamespace()

[this page | pdf | back links]

The isDefaultNamespace() method (when applied to HTML elements in the JavaScript DOM) returns true if a specified namespace URI is the default namespace, otherwise returns false.

 

It has the following syntax with the following parameters. It returns a Boolean as above.

 

element.isDefaultNamespace(namespaceURI)

 

Parameter

Required / Optional

Description

namespaceURI

Required

String corresponding to specified namespace URI, e.g. "http://www.w3.org/1999/xhtml"

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile