ANSWERS: 1
-
Since JavaScript is client-side, it would be unwise if it could modify files as it would allow hackers to do nasty things. Use a PHP backend. And make sure to use some security system. Also, check out jquery instead of using innerHTML.
Copyright 2023, Wired Ivy, LLC