Drycodez Posted September 30, 2011 Share Posted September 30, 2011 document.createElementNS(arg1,arg2) What does this document's method do? i know arg2, defineds the type of element to be CREATED, but what about arg1? Link to comment Share on other sites More sharing options...
Ingolme Posted September 30, 2011 Share Posted September 30, 2011 createElementNS() creates an element within a certain namespace. Namespaces are described here: http://w3schools.com/xml/xml_namespaces.aspThe first argument would be the value of the "xmlns" attribute of that namespace. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.