• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem in search using dropdowns with same vales

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two dropdowns in my search page one at up and one at down
and both have the values of states.
When I select the value from dropdown at top of page it gives the result and updates the down dropdown by states what i have selected.
This is what I want.
But Now when I select any location from down dropdown it shows the result from what i have selected in down dropdown but dosent update the up one.
Now if I again goes to up dropdown selection it display the old values and dosent update any of those.
I have named my dropdown as

name="updropdown"

&
name="downdropdown"
and in my java class
i take it as

and with "location " variable i am doing the search.
Please help me how to handle 2 dropdowns with the same valles for the search.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you go back to the page make sure that you set the submitted option as selected in both dropdowns.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic