+ 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
4th May 2017, 8:30 AM
Calviղ
Calviղ - avatar
+ 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.
4th May 2017, 7:55 AM
ElricTheCoder
ElricTheCoder - avatar
+ 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.
4th May 2017, 8:06 AM
ElricTheCoder
ElricTheCoder - avatar
+ 12
@Serena you want to save your input in an external file like .txt file or any other?
4th May 2017, 8:02 AM
ElricTheCoder
ElricTheCoder - avatar
+ 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.
4th May 2017, 8:11 AM
ElricTheCoder
ElricTheCoder - avatar
+ 12
@Calvin any good source to learn JS Blob other than the one's I mentioned?
4th May 2017, 8:42 AM
ElricTheCoder
ElricTheCoder - avatar
+ 6
suggest me something about my Question https://www.sololearn.com/discuss/366579/?ref=app
5th May 2017, 10:01 AM
Aijaz Ahmed
Aijaz Ahmed - avatar
+ 3
Use javascript blob
4th May 2017, 8:08 AM
Calviղ
Calviղ - avatar
+ 2
@Serena, can the code work on your mobile? Mine one does not work. 😓 It only work on Pc
4th May 2017, 8:47 AM
Calviղ
Calviղ - avatar
+ 2
Hi @Tiyam I search Google come across this page.. It talks abt blob and file interface . goo.gl/tKxGyu
4th May 2017, 8:50 AM
Calviղ
Calviղ - avatar
- 2
/41q33eCtL4G6mNYg0S3Zupua4Prqlgv-uqsHzGWkqdI7gthX7b-FRiVpC1YLr7qNN-ex-RGXkcFqKvR3zfMwkY3tKST4WhIi from this server.
5th May 2017, 9:42 AM
Widy Gosal
Widy Gosal - avatar