This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Resolve this please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Resolve this please

Shrikanth Nekkanti
Ranch Hand

Joined: Jul 12, 2007
Posts: 48
I have a dropdown when user selects a value in it immediately another dropdown appears.If user clicks on submit without selecting a value in second dropdown,The second dropdown is disappearing and an error message to enter value in first dropdown is being displayed .

My doubt is How to make First Dropdown stable after selecting a value.When user tries to click submit button without entering a value in second dropdown I wanna display an alert message to user saying to enter city value and how to prevent its disaaperance after click on submit button.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Howdy Sreekanth,

Please don't make duplicate posts. The same post is available here, but that thread is the appropriate one.

One of the moderators would lock this thread. Henceforth, please carefully choose a forum.


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
 
wood burning stoves
 
subject: Resolve this please
 
Similar Threads
Dropdown menu in Servlet to displayed the selected value
Question on .submit and reloading form values AFTER the submit button is clicked
After submit the link parameter get null
How to resolve this issue
Error handling in Struts