I have an XML DB and I have been able to parse the XML using DOM with JS. The thing I am unable to figure out is, how can I change a value in my XML db?
I tried using:
xmlDoc.getElementsByTagName("COMMENT")[0].childNodes[0].nodeValue="text";
But this does not changes the actual DB. When I refresh my page, it gives me the same old value again.
What am I doing wrong?
Edit:
I am making changes only on the client page and not sending the data back to make relevant changes in database itself.
I understand I should use AJAX or something, but could you please give me directions on what I should read or some examples where I can learn?