Saving String of Data as a file with HTML5 + Javascript without using URI -


possible duplicate:
cross-browser save .txt

i'm looking way save sting of data file using html5 , javascript, without using server-side techniques (php, asp etc..)

i'm using uri moment :

<script>  var content = "test";  uricontent = "data:plain/text.," + encodeuricomponent(content);  newwindow=window.open(uricontent, 'test'); </script> 

however browsers don't name file right extension. i'm wondering there way save strings without using using htlm5 + javascript

unfortunately not there yet. there draft filewriter api it's not implemented in browsers.

if can fall flash should take @ downloadify.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -