Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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>
    

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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-20 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found