Saving CSS Class of an object to a Cookie?

M

Mack

I have a script that will change the CSS class of a text link when the
user clicks on it. Basically, I am trying to create a checklist that
can change individual lines of text to strike-through mode when the
user clicks.

The problem at this point, however, is that I want to make this
persistent, and save the class of the individual lines of text in a
cookie, so that when the user returns to the page the text that was
displayed as strike-through is still shown that way.

I've done some searches, but haven't found any script examples for
this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top