You can manipulate XML data in jquery according to your requirement. In simple word, you can change the value of an xml node or delete the particular node or insert a new node in your pervious xml.
In below example, there is list of country with their id. I have updated the value of country 1, delete the country 2 and insert a new country 3.
See the Pen Untitled by Nirbhay (@nirbhaysingh) on CodePen.
Oh yes, this worked for me, spent about half hour trying to find a good example and hey presto your page popped up. Thanks.
ReplyDelete