You could use the $.data() function to store any data when adding/removing classes:
http://docs.jquery.com/Internals/jQuery.data Rik 2008/11/22 lukas <[EMAIL PROTECTED]>: > > I am removing&adding a class to a DIV. What is the best way to > memorize this change for the application before it is resetting itself > while going through the loop again? Thank you! -- Rik Lomas http://rikrikrik.com