I am trying to create a number to use on my web page
I Don't think I need anything too fancy.
I just want to keep it in a text file on my website and when I need to access it, I want to be able to read it from the file, use in in a form field, increment it by 1 and write the changed text file back.
So how do I...
Read the number from a text file...
Assign it to a variable...
Use it in a form field...
Increment it by 1...
Write it to the text file...
Save the text file...
I am at a loss about how to read and write, open and save a text file with JavaScript.
If I can't do this using JavaScript, I have plan B...
How do I get a js generated number into a web form text field?
Thanks
Jack
I Don't think I need anything too fancy.
I just want to keep it in a text file on my website and when I need to access it, I want to be able to read it from the file, use in in a form field, increment it by 1 and write the changed text file back.
So how do I...
Read the number from a text file...
Assign it to a variable...
Use it in a form field...
Increment it by 1...
Write it to the text file...
Save the text file...
I am at a loss about how to read and write, open and save a text file with JavaScript.
If I can't do this using JavaScript, I have plan B...
How do I get a js generated number into a web form text field?
Thanks
Jack