tab event ui is undefined
tab event ui is undefined
I try to capture a tab clicked on event:
$("#mydiv > ul").tabs({
select: function(e, ui) {
alert(ui);
}
});
The alert(ui) is giving an undefined when the tab is clicked.
Any ideas what I am doing wrong?