This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes showing fields dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "showing fields dynamically" Watch "showing fields dynamically" New topic
Author

showing fields dynamically

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I have an HTML form. Only problem I have that depending on the a menu item user choses it shows certain fileds and disables others. Now, this is not nice as in some cases most are disabled. I need to change it so that it shows only the onces that are needed. I recoded it using frame and having seperate HTML for each option but that also has problems as further down the line I show report that shows in a frame in which these HTML forms open. So I am back to not using frames as they limit view area.

What other way I can do this?

Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Here is the basic walkthrough:

Place the items inside a div



code to hide a div




You can call the function with


Eric
 
Don't get me started about those stupid light bulbs.
 
subject: showing fields dynamically
 
Similar Threads
Frames not working properly in Netscape 6.2
Setting height of frame
html frame resize only vertically not horizontally
repaint frame
value undefined....how to remove that?