How would I edit my xml file using javascript? Would I use the fopen commands? How would I go in and edit certain elements for example find <cherry>red</cherry> and make the red be blue?
I've been looking for a while now and cannot find much. Thanks for your help.
Write to XML file using Javascript
Moderator: General Moderators
Re: Write to XML file using Javascript
Is having ajax interact with my php code that writes to the xml the only way I can do it?
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: Write to XML file using Javascript
Unless you have a special plugin for a browser JavaScript has absolutely no file system rights. Consider the fact that ActiveX is the primary reason spam exists to the extent it does today.