show/hide div on link click code example

show/hide div on link click

1

1 Example

0
$(".link").click(function() {
    var which = $(this).data('val');
    $(".tab").hide();
    $('#'+which).show();
});
by on

Other Code Examples