[Solved] select multiple elements in jquery


Try updated fiddle. it hides clicked and shows hidden.

$(document).ready(function(){
    $("#home").click(function(){
       $("#home").fadeOut("slow");
       $("#work").fadeIn("slow");
    });
});
div { width: 300px; heigth: 100px; }
div#home { background-color: yellow; }
div#work { background-color: red; display: none }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="home">HOME PAGE</div>
<div id="work">WORK PAGE</div>

2

solved select multiple elements in jquery