[jQuery] JQuery UI tabs and pagination
hi everyone,
I've this situation: an X number of tabs; in tabs content there's a
div classed .to_be_replaced and links for paginating.
when I click on a link it should replace the content
of .to_be_replaced.
The problem here is that every div.to_be_replaced gets replaced, and
not only the one that belongs to the currently shown tab.
this is the code:
$('#tabcontainer').tabs({
show: function(event, ui) {
$('div.pagination a', ui.panel).live('click',
function() {
$.blockUI({
message: null
});
$("ui.panel, .to_be_replaced").load(this.href);
return false;
});
}
});
any help is appreciated, thanks.