bugtesting
New Member
I have a FAQs page set up to show the answers when the questions are clicked. Here's http://jsfiddle.net/soncraig/nqgzL/)\[code\]$(document).ready(function() { $('#faqs h3').each(function() { var tis = $(this), state = false, answer = tis.next('div').slideUp(); tis.click(function() { answer.slideToggle(state); tis.toggleClass('active', state); $(this).find('span.faqsIcon').data('data-icon',"▲"); }); // end click function }); // end faqs a_function}); // end ready\[/code\]