View Full Version : Div tag- save edited value

05-16-2012, 07:10 AM

Is it possible to store the edited value in the div tag in the original file, such that next time i open the HTML file the new edited value appears.
Thanks in advance.

Have a Good day.

05-16-2012, 02:08 PM
Nope! At least not though javascript!

You can store the value in a cookie for overwriting, but it will only last until the cookie is deleted or expired.

A serverside language can store the edited value in a database, which it can use to generate the html page.
You can use javascript for communication, but it is still not the javascript that makes the changes.

If editing of the original document is possible this way, I don't know.