addclass - Jquery Add/remove Class of seperate div on click -


 #bottomtoolbar #facet-container #tb-facets .info-toolbar #rv-active { position:relative;  }   .tb-1-5 { display:none; }    <div id="bottomtoolbar">     <div id="facet-container"> <ul id="tb-facets">     <li class="info-toolbar">     <a id="info-tb-1">recently viewed</a>     <div id="rv-active" class="tb-1-5">hello world</div></li>     <li class="info-toolbar">favorites</li>     <li class="info-toolbar">wish list</li> </ul> </div>    </div>   $('#info-tb-1').bind('click', function() {         $('#rv-active').removeclass('tb-1-5');     }); 

what i'm trying show div when click on "a" element. need change remove display: none;

thanks

have tried using .show()?

$('#info-tb-1').click(function() {     $('#rv-active').show(); }); 

learn dig through jquery api docs. answer 99% of questions.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -