This one boggles my mind. I've used this same script (different targets of course) on other elements in my script and it works perfectly. Why, in this instance does the slideToggle only slide down?
Here is the hide, slideToggle code:
$('div.addLocation').hide();
$("p.buslocadd").click(function() {
$(this).prev('div.addLocation').slideToggle(400);
return false;
});
Here are the target elements:
<div class="addLocation">
</div>
<p class="buslocadd"></p>
What's the deal?