jquery hide show diviions in asp.net

jquery hide show diviions in asp.net

hi all, i've one problem with the jquery

i am hiding a <div> using style=display:none;

and when i clicked a button whose id is lnkbtnUnitAdd, i want to show the above div

but i've written some code on OnClick event of the button,

since the below function is returning false, i am not able to execute the code on server side,

can anyone tell me how to execute the both functions,

when i set the return =true; the div tag is not clearly seen and more over it just showing up and closing (like toggle)

I've set my div tag like below
<div style: "display:none;"></div>
                  
  1. function Toggledivs ( )
  2.  
  3. {
  4.  
  5. $ ( "#lnkbtnUnitAdd" ). click ( function ( ) {
  6.  
  7. $ ( "#divUnit" ). show ( "slow" ); return false;
  8.  
  9. } );
  10.  
  11. }