+ 3
Try this code..
using FileSaver lib with blob
(Please note that it works on Pc, but code playground in android might not work.)
https://code.sololearn.com/WS3Gre8i60wd/?ref=app
+ 15
you can use input tags to take any inputs you want..And then store your input in a variable.
And use an onclick() event which will output your value stored in the variable just onclicking the button.
https://code.sololearn.com/W7C8MI04K2xp/?ref=app
Checkout this code of mine..I've done something similar.
+ 14
well,I have done saving in an external file using the C language only..
I haven't tried it with javascript..But I'm sure there's a way..I saw many programmers do it with node.js and JSON...
Really sorry I couldn't help much.
+ 12
@Serena you want to save your input in an external file like .txt file or any other?
+ 12
Well you can try javascript blob as @Calvin mentioned..
I don't know much about this API but you can learn more from here.
https://developer.mozilla.org/en-US/docs/Web/API/Blob
http://www.javascripture.com/Blob
and youtube.
+ 12
@Calvin any good source to learn JS Blob other than the one's I mentioned?
+ 6
suggest me something about my Question
https://www.sololearn.com/discuss/366579/?ref=app
+ 3
Use javascript blob
+ 2
@Serena, can the code work on your mobile? Mine one does not work. 😓 It only work on Pc
+ 2
Hi @Tiyam
I search Google come across this page..
It talks abt blob and file interface .
goo.gl/tKxGyu
- 2
/41q33eCtL4G6mNYg0S3Zupua4Prqlgv-uqsHzGWkqdI7gthX7b-FRiVpC1YLr7qNN-ex-RGXkcFqKvR3zfMwkY3tKST4WhIi from this server.



