getElementsByTagNameNS method

This topic has not yet been rated - Rate this topic

Gets a collection of objects that are based on the specified element names within a specified namespace.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4

Syntax

object.getElementsByTagNameNS(pvarNS, bstrLocalName)

Parameters

pvarNS [in]

Type: Variant

The namespace URI that defines the desired elements or an asterisk (*) to match all namespaces with the document.

bstrLocalName [in]

Type: String

The name of the desired element or an asterisk (*) to match all elements with the specified namespace.

Return value

Type: IHTMLElementCollection

Returns a collection of objects with the specified element names.

Standards information

See also

a
abbr
address
area
article
aside
audio
b
base
bdo
blockQuote
body
br
button
canvas
caption
cite
code
col
colGroup
comment
custom
dd
del
div
dl
dt
em
embed
fieldSet
figcaption
figure
footer
form
head
header
hgroup
hn
hr
html
i
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
ins
kbd
label
legend
li
link
map
mark
media
meta
nav
object
ol
optGroup
option
p
param
pre
q
rt
ruby
s
samp
script
section
select
small
source
span
strong
style
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
title
tr
u
ul
var
video
getElementsByTagName

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.