|
-
Jun 14th, 2000, 09:44 AM
#1
Thread Starter
New Member
I have a web page with 2 Listbox objects. First listbox is based on a state table. The second litbox need to show all county in the county table where the state matches the state selected in the first listbox.
Tried many things and could not get it.
The end result is to create an ASP page so the user can select the state in the first list and only see the counties in that state in the the second listox.
Help???
-
Jun 14th, 2000, 09:59 AM
#2
Guru
Show 1 listbox on the page, containing the state. Have the user choose the state and click NEXT.
Then pass the state as a querystring to another page (or even the same page) and populate the listbox from your database. All done
If you want to populate the counties without a page refresh, it's pretty difficult to do. You could send a page with ALL the counties for EVERY STATE and manipulate it via javascript, but your page will be HUGE and the javascript is somewhat complicated (I think symantec.com has an example you can probably steal )
You can also use remote scripting, but I don't know much about that, i think that it's IE dependant.......
HTH
Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|