I am having trouble adding several jquery-ui tabs. Currently, after clicking on Field0 some information disappears from Field3 and vice versa.
I want to click on Field0 or Field1 and only apply changes to these fields. Field3 and Field4 do not respond to any events.
I use the document.on as part of the code is downloaded dynamically.
My code: http://jsfiddle.net/scopex/muXCu
$(document).ready(function() {
$(document).on("click", "ul.tabs a", function() {
$("ul.tabs li").removeClass('active');
$(this).parent().addClass('active');
var classname = $(this).attr("class");
$(".pane div").hide();
$($(this).attr("href")).show();
return false;
});
})