Click to See Complete Forum and Search --> : losing tag properties on refresh


spruitt
11-17-2003, 09:35 AM
i am using javascript to set some tag attributes dynamically. however, when i hit refresh the page reverts back to its original state and the attributes i changed are lost. is there a browser or html setting i can set to preserve my attribute on a refresh? or, do i need to code my own facility to do so?

my browser is IE 6.


thanks in advance.


SP

Gollum
11-17-2003, 09:40 AM
The answer is... "no". When you refresh a page all settings from the previous page are lost. This is part of the Javascript security rules to stop malicious code/etc from one web site gaining access to private data from another.

You will need to track the changes yourself and communicate them to your server so they may be included in the next page download.