Write to file using JavaScript
Hello everyone,
is possible to open file and write text into? I am trying something like this, but of course it does not work:
$scope.writeToLogFile = function (text){
var txtFile = "Uploaded/log.html";
var file = new File([''], txtFile);
file.open('w'); // open file with write access
file.writeln(text);
file.close();
}
My idea is about creating a log file for viewing changes.
Thanks for every tip ![]()
Tomas

