Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Show / hide text field in cgi.pm application

by dsheroh (Monsignor)
on Jun 22, 2010 at 09:32 UTC ( [id://845867] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <input type=text name=field1 onChange='document.getElementById("peekab
    +oo").style.display = "block"'>
    <div id='peekaboo' style='display: hidden'>
      <input type=text name=field2>
    </div>