Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • Minka L
      Guest

      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.

      Anonymous
      Guest

      Fixed

    Viewing 2 posts - 1 through 2 (of 2 total)
    • The topic ‘Help! Any idea why this code won’t work?’ is closed to new replies.

    Subscribe to our Newsletter

    Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

    By using this website, you agree to our Terms