Simple Show/Hide

language: Javascript
license: Other

Code for Snippet:

$('.btn-toolbar .chartToggle').click(
            function(e) {
                var target = $(this).attr('data-target');
                $(target).closest('.orgChartSection').find('.show').toggleClass('show hide');
                $(target).toggleClass('hide show');
comments powered by Disqus


Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 285
Date Added: 2015-06-05 20:42:19
Last Modified: 2015-06-05 14:42:33

Web Analytics