I am using the jQuery slideToggle() function to show and hide a span. Here is my code:
$(".slideButton")
.click(function(event) {
$(".slideText").slideToggle("slow");
event.preventDefault();
});
<span class="slideText" style="display:none">
blah...blah...blah
</span>
<a href="" class="slideButton">more...</a>
It works the way I would expect on opening, but when closing, the span slides closed, then quickly flashes all the text in the span, and finally disappears. Almost like it has a hiccup.
I have this issue in IE 8, but not Firefox.
Anyone know to resolve this? Thanks.