|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Displaying DB items from input |
From: |
Giovanni Zomer |
Date: |
5/8/2000 3:52:30 PM |
IP: |
213.192.36.211 |
Did I really understand the problem?
- lets say you have a drop down;
starting with "select name" you give the name
"myDropDown" to the dropDown and assign the
javaScript function "myChange" at then event
onChange;
the option values you assign are the ID (and
cannot be seen), the description is the value
you want to be displayed;
so you do the database reading until eof and
create the dropdown, assigning all options
correctly;
- in the javascript part of you code insert the
"myChange" function, and do something with the
actual value of your dropdown, i.e.
... actual=myDropDown.selectedIndex.value; ...
and then redirect your destination-frame url
to the asp, passing the right ID, i.e.
... window.location.href=myAsp.asp?id=+actual;
- now you can do something depending on the ID
passed to your asp-code myAsp.asp
was this the question?
|
Previous Message
Follow Up - Re: Displaying DB items from input - NeoC 5/8/2000 11:07:39 PM
|
|

|
|
|
|
|
|
|
|
|
|