Hi, everyone. Any idea why this code won’t work as a shortcode?
(function(){
var $ = jQuery
$(‘.toggleFormButton’).click(function(){
$(‘.toggleFormButton’).removeClass(‘active’);
$(this).addClass(‘active’);
$(‘.hideShowContainer’).hide();
$(‘#’ + $(this).attr(‘hideShow’)).fadeIn(‘fast’);
});
})();
Thanks. I’m not that familiar with Javascript and jquery so I’m really stuck on this one.