Referring to this example: http://jsfiddle.net/m9nts8r1/
How can I update the content of updatedText.xml when pressing the 'Download' button, just as it does when the 'Save' button in any application?
In this case I just get another updatedText (1).xml, updatedText (2).xml and so on.
Moreover it would be nice if it was possible to specify the directory where the updatedText.xml is saved.
Has someone an idea?
You cannot do this. Once the file is downloaded it is on your hard drive. Your web browser does not have the permission to access your file system (just imagine what a mess it would be if a website could look into your files or even change them). I guess you will unfortunately have to live with the newly created files or solve your problem with another technology.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With