delete XML node using javascript in firefox -


I am trying to delete a node in the XML file using JavaScript. I used the browser Firefox I used node I'm reaching out which I want to successfully delete, then I'm trying to delNode.ParentNode.RemoveChild (delNode), but when I went back to the XML file on my harddisk, the node was still there. I need to remove the whole node (not only children) if someone can guide me to do me, then I am very good;) Thanks

This should delete the DelNode Do you get an error? What is the result of DelNode.parentNode.removeChild (delNode)? I do the same thing all the time and it works for me.

I'm sorry I missed part about writing it back in the file. To do this, and to take advantage of these things, you will have to create a directory with a directory called 'chrome', in which your script will be a file.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -