Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display last changes on reload

Status
Not open for further replies.

inf33323

Technical User
Apr 24, 2001
26
DE
I have a table containing information that can be chosen using checkboxes. On submitting the form that includes the table I mark the selected row (by changing the background color) and disable the checkbox. Is there any possibility (in JavaScript)to keep these changes when loading the website again?

Thanks a lot for any hint,

inf33323
 
you can use cookies to store the state of the rows before you unload the page. Whenever you load the page, check for the existence of cookies, if they exist read them and set the row colour accordingly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top