This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Based on first dropdown menu all the remaining fields should be populated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Based on first dropdown menu all the remaining fields should be populated" Watch "Based on first dropdown menu all the remaining fields should be populated" New topic
Author

Based on first dropdown menu all the remaining fields should be populated

Praveen Reddy
Ranch Hand

Joined: Jul 12, 2006
Posts: 51
Hi All,

please help me i have a scenario based on first dropdown menu all the remaining fields should be populated(Same page)

In Detail here i am having

1) Dropdown menu ( on selecting this values 2 to 5 to be refreshed)
2) provider Id
3) Locations (again this will be a dropdown menu of different locations)
4) Email
5) xyz

In my project i am Using Free marker, struts2,hibernate


Thanks
Praveen
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If the data requires you to hit the server:

You either need to postback the page with the new value or look into using Ajax to post back the page to get the data.

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: Based on first dropdown menu all the remaining fields should be populated