I’m calling this function but I need to slideup the parent div of the link that was clicked.
This function is called from a normal link:
function close(){
$(this).slideUp('slow', function() {
});
}
How do i reference the element that was clicked (link), then get it’s grandparent?
I want to slideup not this links parent div, but the parent div of the link div.
I hope that makes sense.
This is what worked: