Hi there,
I can't figure it out how to get an element of a clicked list item. When I use this I get "node-205" every time.
.find('> ul')
.tabs({
selectedClass: 'active',
select: function(event, ui){
$(this).children('li').attr('class')) // this shows only the first element of the list
} ,
cookie: { expires: 0},
fx: fx
})
the list:
<ul class="tabs">
<li class="node-205"></li>
<li class="node-150"></li>
<li class="node-160"></li>
</ul>
I hope someone can help me.