jquery fadeOut() works but slideUp() doesn't -


very simple script here can't work out why it's not working.

html:

<div class="services-tab">...</div>  <div id="services-content">...</div> 

javascript:

$(document).ready(function(){   $(".services-tab").click(function(){     $("#services-content").slideup();   }); }); 

if replace slideup() fadeout() works, isn't effect want. doing wrong?

remove # id

<div id="#services-content">...</div> 

replace by

<div id="services-content">...</div> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -