Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
70
rated 0 times [  74] [ 4]  / answers: 1 / hits: 20170  / 13 Years ago, fri, march 18, 2011, 12:00:00

I have some JavaScript code loaded from a local HTML file (without going through a webserver).. i.e., opened using file://



Is there a way the JavaScript code in this file can be used to write to a local file?



I know that cross-site restrictions do not allow lot of things in JavaScript, but this is not cross-site, so it should be allowed in theory.


More From » jquery

 Answers
1

There's a jQuery plugin jQuery.twFile that allows you to read and write to a local file.


[#93211] Thursday, March 17, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tyreese

Total Points: 739
Total Questions: 95
Total Answers: 98

Location: Belize
Member since Mon, Jun 20, 2022
2 Years ago
;