tabs reload ajax

Posted by alkitbi on Stack Overflow See other posts from Stack Overflow or by alkitbi
Published on 2010-06-07T17:31:12Z Indexed on 2010/06/07 17:32 UTC
Read the original article Hit count: 252

Filed under:
|
|
|
|

I want to add to this simple file ... When i click on a tab for the data to be updated or reloaded

$(function(){ $('#tabsSlide #nav li a').click(function(){ var currentNum = $(this).attr('id').slice(-1); $('#tabsSlide #nav li a').removeClass('current'); $(this).addClass('current'); $('#tabsSlide #content .tab-slide').slideUp(300); $('#tabsSlide #content #slide-'+currentNum+'.tab-slide').slideDown(300) }); });

© Stack Overflow or respective owner

Related posts about php

Related posts about AJAX