How do I change the text value from 'close' to 'open' or vice versa when clicking my H4 element?
$(document).ready(function($) {
$('#accordion').find('.accordion-toggle').click(function(){
//Expand or collapse this panel
$(this).next().slideToggle('fast', function(){
var status = $(this).is(':hidden') ? 'close' : 'open';
$(this).next('.accordion-status').html(status);
});
});
});