javascript document createAttributeNS( )
@March 15, 2008, 1:22 a.m.
createAttributeNS( ) | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2 |
createAttributeNS("namespaceURI", "qualifiedName") |
|
Generates in memory an instance of an attribute node (Attr object) whose name is defined in an external namespace. A typical sequence is to create the attribute, assign a value to it via its nodeValue property, and then insert the Attr node into an element's attribute list via the element's setAttributeNodeNS( ) method. |
|
Parameters | |
|
|
Returned Value | |
Attr node object reference. |
Powered by Linode.