Leon van der Veen
Leon van der Veen

Reputation: 1672

slidedown next element

I've created a list from table records and i added a rightclick event for showing a menu. When you click on edit user there must slide down a form for editing the user.

I've made an example of my list:

http://fiddle.jshell.net/9Ku7h/6/

The problem is to slide down the right form, I only get it working for the first and the last form. I tried it with next() but that didn't work.

I hope someone can help me in the right direction.

Thanks in advance.

Upvotes: 1

Views: 1018

Answers (1)

djphinesse
djphinesse

Reputation: 978

$('#editUser').click(function(e) {
    $('.table_record_selected').next().next().slideDown(500);
});  

Upvotes: 1

Related Questions