Give help. Get help.
Curious if there is a preferred method for clearing/resetting the DOM cache for jQuery events…
I’m dynamically adding an _active_ class to a series of elements with jQuery. If the page is refreshed, the _active_ class remains on the current element instead of starting over again.
I’ve attempted to solve this by adding the following meta tags to the html, but it did not solve anything.
Anyone have a suggestion for tackling this issue? Thank You.
I’ve never heard of something like that, got a demo?
Hmm, I’m not seeing the issue you are describing. I have seen something similar is Firefox when using form elements – a refresh would not reset the input values and cause a whole bunch of problems – but nothing like this with class names.
The [demo you shared](http://jsfiddle.net/6TCdY/) is similar to a [demo I have using my visualNav plugin](http://mottie.github.com/visualNav/stepper.html). Are you seeing the same issue there?
Oh! You mean the scroll position. The original description made it seem like it was a problem with the class name not being correct.
I’ve never been a fan of overwriting a browser default, keep that in mind!
You must be logged in to reply to this topic.