title: css styles set by jquery lost after back button
body: <p><a href="http://www.syronex.com/software/jquery-color-picker" rel="nofollow">A simple script</a> displays a color palette. I use <code>jQuery.ready</code> to init it. When I click on a color, the script just changes the class of the clicked box so that a checkbox appears on it. It also puts the color value in a hidden field.</p>
  
  <p>Now I click in the navbar to go to another page, then hit the back button. The value in the hidden field is still here. But the color box is not checked anymore (firebug confirmed that the class is not here anymore).</p>
  
  <p>What can I do to ensure that the class set dynamically by jquery is still here when going back to the page?</p>
  
  <p>(I tried this in latest FF and IE)</p>