Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by dsheroh (Monsignor)
on Jun 22, 2010 at 09:32 UTC ( #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>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://845867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2022-12-03 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?