<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?

Recommended Answers

Is your page online, so we can see?

Jump to Post

All 3 Replies

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.