how to insert the data into xml using javascript?

Feb 27 2013 11:29 PM
i have two text e.g.
<input id="txt1" type="text">
<input id="txt2" type="text">


now i want to insert these values into xml file using javascript.

xml file is :

<books>
<book>
<Author>abc</Author>
<Price> 300</Price>
<book>
<books>
thankyou...

Answers (1)