Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
lookupPrefix
go
Collapse the table of content
Expand the table of content

lookupPrefix method

Gets the namespace prefix associated with a Uniform Resource Identifier (URI), if any.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2Internet Explorer 9

 

Syntax

object.lookupPrefix(pvarNamespaceURI, pvarprefix)

Parameters

pvarNamespaceURI [in]

Type: Variant

The URI.

pvarprefix [out, retval]

Type: Variant

The namespace prefix associated with the URI.

NULL

Default. Returned when no associated prefix is found.

Return value

Type: Variant

The namespace prefix associated with the URI.

NULL

Default. Returned when no associated prefix is found.

Standards information

See also

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

 

 

Show:
© 2015 Microsoft