2012-01-26, 10:58 AM
Hey guys I wanted some help with jQuery because I am pretty new to it.
So the thing is in the below code I wanted to add the function persist(true) or simply the persist function.
I tried every possible combination but it ain't seem to be working. Is there any solution to this problem?
Thanks in advance
So the thing is in the below code I wanted to add the function persist(true) or simply the persist function.
<script type="text/javascript">
jQuery(document).ready(function($){
$('.tab').click(function(){
$('.at').removeClass('at');
$(this).addClass('at');
$('.content').slideUp();
var catshow = $(this).attr('rel');
$('#'+ catshow).slideDown();
});
});
</script>
I tried every possible combination but it ain't seem to be working. Is there any solution to this problem?
Thanks in advance