Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FAQ Toggle javascript of question and answer
jQuery(function( $ ){
$('.faq-list .question').click( function(){
$(this).parent().find('.answer').slideToggle('fast');
$(this).toggleClass('on');
return false;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment