Alen Saqe
Alen Saqe

Reputation: 479

Read Write Overwrite external files with javascript or jquery

I wanted to know if there is any way to read write and overwrite external files using javascript or jquery or just another way to work with local data for a html/javascript app?

Not a database just a file like xml or anything else suitable for the task!

Upvotes: 0

Views: 1913

Answers (2)

gireesh joshi
gireesh joshi

Reputation: 11

 $(document).ready(function() {

 $.ajax({
                    type: "GET",
                    url: "XMLFile/CRF_STRUCT_EXTRACT_SUPPORT.xml",
                    dataType: "xml",
                    success: xmlParser
                });  

});


   function xmlParser(xml) {

// do anything with xml file here.

  }

Upvotes: 1

user587174
user587174

Reputation: 191

Not knowing your needs and requirements for this project I would check out local storage (HTML5). Your can read more about it at http://diveintohtml5.info/storage.html

Upvotes: 1

Related Questions