I have a question regarding jQuery. I have a li that slides out, now I want to remember if it has slided out so I want to set a boolean variable slidedOut.
Is it possible to simply add it to the element? Or should I add a hidden div or something to to element?