[jQuery] JQuery XML Manipulation
Hello Developers,
I am using jqGrid plugin of JQuery for displaying data in a grid. I am
wanting to manipulate the data xml dynamically. For instance say I have an
xml like
<data>
<emplist>
<employee>
<empcode>10</empcode>
<empname>raj</empname>
<employee>
<employee>
<empcode>20</empcode>
<empname>caj</empname>
<employee>
</emplist>
</data>
Now when I say add row, I would like to add an data to the row (which I am
able to do it). But I am not able to get the updated xml. For instance If I
add data with empcode as 30 & name as abc
<data>
<emplist>
<employee>
<empcode>10</empcode>
<empname>raj</empname>
<employee>
<employee>
<empcode>20</empcode>
<empname>caj</empname>
<employee>
<employee>
<empcode>30</empcode>
<empname>ABC</empname>
<employee>
The idea is to get the maniupulated xml data & then sent it to the server...
Please help
</emplist>
</data>
--
View this message in context: http://www.nabble.com/JQuery-XML-Manipulation-tp22448894s27240p22448894.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.