how to hide and show multiple div in javascript

$('a.slick-hide').bind('click', function(){var $div1 = $('#box1'), $div2 = $('#box2') if ( $div2.is(':visible') ) {$div2.hide();} else if ( $div1.is(':visible') && $div2.is(':hidden) ) {$div1.hide();} … There will be two Buttons i.e. Simple Show and Hide #. Password Show or Hide Button [Source Codes] To create this program (Password Show Hide Button). In this post you will learn how to get multiple checkbox value in javascript .

How to Hide And Show Multiple Div in React Js