setAttributeNodeNS

< dom‎ | methods
Jump to: navigation, search



Method of dom/Element

Syntax

var object = object.setAttributeNodeNS(pattr);

Parameters

pattr

Data-type: IHTMLDOMAttribute


attribute

Return Value

Returns an object of type DOM Node.

IHTMLDOMAttribute

attribute

Notes

Remarks

If the object already contains an attribute with the same name, the new attribute replaces the original attribute.

Syntax

Standards information

See also

Related pages (MSDN)

  • a
  • abbr
  • acronym
  • address
  • applet
  • area
  • article
  • aside
  • audio
  • b
  • base
  • baseFont
  • bdo
  • bgSound
  • big
  • blockQuote
  • body
  • br
  • button
  • canvas
  • caption
  • center
  • cite
  • code
  • col
  • colGroup
  • comment
  • custom
  • dd
  • del
  • dfn
  • dir
  • div
  • dl
  • dt
  • em
  • embed
  • fieldSet
  • figcaption
  • figure
  • font
  • footer
  • form
  • frame
  • frameSet
  • 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
  • isIndex
  • kbd
  • label
  • legend
  • li
  • link
  • listing
  • map
  • mark
  • marquee
  • media
  • menu
  • meta
  • nav
  • nextID
  • noBR
  • noFrames
  • noScript
  • object
  • ol
  • optGroup
  • option
  • p
  • param
  • plainText
  • pre
  • q
  • rt
  • ruby
  • s
  • samp
  • script
  • section
  • select
  • small
  • source
  • span
  • strike
  • strong
  • style
  • sub
  • sup
  • table
  • tBody
  • td
  • textArea
  • tFoot
  • th
  • tHead
  • title
  • tr
  • tt
  • u
  • ul
  • var
  • video
  • wbr
  • xmp
  • setAttributeNode

This article contains content originally from external sources.

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