This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
In a jsp page, I want to create two dynamic combo drop down menus, like you select a make of a car in one box and you can get all the available models in the other box. I do not want the page to refresh. I looked up dwr at http://getahead.ltd.uk/dwr/examples but I am still not clear on how to get going.
Can anyone give me an example or point me in a direction.
I have some questions regarding the sample chapter.
From Listing 9.2: var loader1 = new net.ContentLoader(url,FillDropDown,null,"POST",strParams); Question 1 - Where are you using the variable loader1? Question 2 - For the url you had mentioned DoubleComboXML.aspx. If I write a servlet, what would the url be? And how can I interact with the webpage?
I have two drop down menus where if the user selects from the first drop down menu, i am using ajax, and querying the database and populating the second drop down menu. Now when the user makes a selection from the second drop down menu and clicks on a submit button, I use the values selected from the first and second drop down menus, and reload the page to generate a report on the same page. Here, after the page reloads, the second drop down menu is becoming empty. How can I retain the values in the second drop down menu with the user selection as "selected". Please advise.
Thanks in advance. Sridhara. [ February 20, 2006: Message edited by: sridhar anna ]