Quote:
Originally Posted by u jayakodi
u jayakodi
jayakodiu@yahoo.com
Elements created and added to a web page by scripts are not 'saved' when the page is saved. Two simple js functions presented here can save the dynamically created elements; the script and other details of the page creating them are avoided, as may be needed in a graph plottng routine.
Pl. see the enclosed zip file.
|
That is an IE only solution, as it is based on ActiveX, which is a specific IE language. Don't mention that it will work only under Windows OS. So that, in fact,
that is not a JavaScript solution, it is a limited ActiveX / Windows one.
For a modern crossbrowser solution there are two possibilities: either a server-side code (with or without AJAX) or the HTML5 features, like local Storage or even dataBase Storage.
Cookies, are, indeed, improper, as they can store limited content of data.