I have a static HTML page with a form. I want to extract data from text box or use the data in XML into textbox with t开发者_StackOverflow社区he help of javascript.
Will appreciate any help or pointers.
Here are tutorials 1, 2 .
(new XMLSerializer()).serializeToString(xmlNode) ;
Use a DOM. Look up examples on w3schools.
you can use usefull jquery function .map() and serialize()
edit:to write xml with javascript [http://www.codeproject.com/KB/ajax/XMLWriter.aspx]
精彩评论