$(".item").hover(
function () {
$(this).slideDown().append(
$("<div class=\"attending\">Yes/No</div>")
);
},
function () {
$(this).find("div:last").slideUp().remove();
}
);
I am using the above code to append a div onto the bottom of an element when rolled over. I have a number of .item divs, each one getting it appended to them on rollover, but for some reason I am unable to make the slidedown/up work.
Any ideas?