<script type="text/javascript"> 
     function dynaBlock(){
          var division=document.getElementById("dynamic_block"); 
          var go_btn=document.getElementById("GO"); 

                 return true;


function not defined says firebug. onclick="return dynaBlock()" in button. block is in DIV tag.
what to do?

Is your page online, so we can see?

Did you try taking out the return in your onClick? onClick="dynaBlock()"

it's done. In my company's framework javascript is not aloowed in head section. Putting it in body section, it worked.Thanks all for responding me.