lookupNamespaceURI

< dom‎ | methods
Jump to: navigation, search

lookupNamespaceURI


W3C Recommendation

Summary

Gets the URI of the namespace associated with a namespace prefix, if any.

Method of dom/Node

Syntax

var namespaceURI = node.lookupNamespaceURI(prefix);

Parameters

prefix

Data-type: String


The prefix, or null.

Return Value

Returns an object of type String.

The URI of the namespace for prefix. null if no namespace is found for prefix. The default namespace if prefix is null.

Needs Examples: This section should include examples.



Related specifications

Specification Status Related Changes
DOM Level 3 Core Recommendation Section 1.2

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • a
  • applet
  • attribute
  • audio
  • button
  • div
  • document
  • documentType
  • frame
  • iframe
  • img
  • input type=button
  • input type=checkbox
  • input type=file
  • input type=hidden
  • input type=image
  • input type=password
  • input type=radio
  • input type=reset
  • input type=submit
  • input type=text
  • label
  • legend
  • marquee
  • media
  • object
  • optGroup
  • option
  • select
  • source
  • span
  • table
  • textArea
  • TextNode
  • video
  • lookupPrefix

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]