how to read and write text files in the hard disk using just javascript?

I am creating a webpage for my school so i need to save some data about the students.
I am not sving it in a server because it's working on my computer so please send some script which I can use to!

lemonie6 years ago
You need to be a bit careful what data you have about students and what you do with it.
Why exactly do you need to go abut it this way, instead of uploading to the server?


orksecurity6 years ago
Javascript's access to the hard disk is limited, to keep people from writing malicious scripts.
NachoMahma6 years ago
. I'm not familiar with JS, but most languages require you to first OPEN the file. You can then READ from (and/or WRITE to) the file before you CLOSE the file. Google is your friend.