Answer the question
In order to leave comments, you need to log in
How to fix "disabling" scripts when loading ajax tabs?
Hello.
I use the following code to load ajax tabs:
$('.tab-choice_item').click(function(){
$('.tab-choice_item').removeClass('active');
$(this).addClass('active');
var href = $(this).attr('href')+ ' #tab-content';
$('#tab-content').fadeTo(200, 0.10, loading);
function loading(){
$('#tab-content').load(href, '', function(){
$('#tab-content').fadeTo(600, 1);
})
}
return false;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question