This question is locked. New answers and comments are not allowed.
I am using the fileHelper.js file from the sample application located here - http://docs.icenium.com/sample-apps/sample-file
I am trying just the most basic implementation, but cannot get it to work. Here is the code below from the head of the index.html page which does not show any errors, but does not read/write text files either.
<script>
$(document).ready(function(){
FileSystemHelper.prototype.writeLine.call(this,"Sample.csv","Hello World",this.onSuccess,this.onError);
FileSystemHelper.prototype.readTextFromFile.call(this,"Sample.csv",this.onSuccess,this.onError);
onSuccess = function(value) {
$("#LabelTest").html(value);
};
onError = function(error) {
$("#LabelTest").html("Failure" + error);
};
});
</script>
Thanks,
Steve
I am trying just the most basic implementation, but cannot get it to work. Here is the code below from the head of the index.html page which does not show any errors, but does not read/write text files either.
<script>
$(document).ready(function(){
FileSystemHelper.prototype.writeLine.call(this,"Sample.csv","Hello World",this.onSuccess,this.onError);
FileSystemHelper.prototype.readTextFromFile.call(this,"Sample.csv",this.onSuccess,this.onError);
onSuccess = function(value) {
$("#LabelTest").html(value);
};
onError = function(error) {
$("#LabelTest").html("Failure" + error);
};
});
</script>
Thanks,
Steve