1<script>
2
3 $(function() {
4
5 $('.faqAnswer').slideUp(); // for content
6
7 $(".faqTitle").on( "click", function() { // for title
8
9 var x = $(this).next();
10
11 $('.faqAnswer').not(x).slideUp();
12
13 $(this).next().slideToggle(200);
14
15 });
16
17 });
18
19</script>