javascript document createElementNS( )
createElementNS( ) | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2 |
createElementNS("namespaceURI", "qualifiedName") |
|
Generates in memory an instance of an element object associated with namespace, label, and tag passed as parts of the method's parameters. A newly created element has no attribute values assigned (except any default values assigned according to the DTD), nor is the element yet part of the document tree. Assign attributes (such as the type for an input element or id for any element), and append or insert the element into the document tree. |
|
Parameters | |
|
|
Returned Value | |
Element object reference. |
Powered by Linode.