Is there a way to persist changes to an HTML page via a simple form? I have a list of links and would like the user to be able to add, remove and update those links via a simple form. This site has no database (and cannot have a database). The site is entirely XHTML and JavaScript (mostly JQuery). I realize JavaScript is clientside but I was really hoping there is a way to save changes to the XHTML file without jumping into php or jsp. I’m new at this, please be gentle.
EDIT:
Does anyone know of a place to start looking if I were to do this in JSP? The reason that I specify JSP is that it is my employer’s preferred language. I want to write the user’s changes directly to an html (or jsp) file through the use of a simple form. I have extremely limited JSP experience and would really appreciate someone pointing me to a good tutorial. I found plenty of tutorials for persisting across session(s) and writing to a database but nothing for saving the HTML (or jsp) back to the server…
Not without a server-side language. As you point out, JS is client-only.
Edit: As pointed out in the comments, the HTML5 storage API might work depending on what you want to do. However, if you want to actually change the XHTML document and have that change reflected for all users, you have to use a server-side language.