[Logo]
Forums Register Login
problem in search using dropdowns with same vales
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.
When you go back to the page make sure that you set the submitted option as selected in both dropdowns.
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database


This thread has been viewed 700 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 18, 2019 12:36:38.