Answers for "if statement is yes then content will show if no content doest'n show in javascript"

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 "if statement is yes then content will show if no content doest'n show in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language