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

             if(division.style.display=="none"){
                 division.style.display="block";
                 return true;
             }   
      }          

 </script>

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

Edited by diafol: fixed code tags

3
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by h2so4_2003
0

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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.