Answers for "how to use javascript to hide content and show through link"

0

how to use javascript to hide content and show through link

$(document).ready(function() {
    $('li').click(function () {
        $('.content:visible').hide(); // hides the visible content before 
        $('.content').eq($(this).index()).show(); // shows the corresponding content
    });
    });
Posted by: Guest on August-17-2020

Code answers related to "how to use javascript to hide content and show through link"

Code answers related to "Javascript"

Browse Popular Code Answers by Language