Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

showing fields dynamically

 
Raj Puri
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the basic walkthrough:

Place the items inside a div



code to hide a div




You can call the function with


Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic