Paul
|
| Posted: 02/19/2002, 1:59 AM |
|
I have got a form that display a single record. You select which record you wish to view using a drop down menu and then press a 'Search' button. How can i make it so the form displays the record selected in the drop down menu without needing to click another button?
I would really appreciate it if someone could show me how this could be done...
Thanks in advance
|
|
|
 |
Alex Alexapolsky
|
| Posted: 02/19/2002, 2:35 AM |
|
You need to use javascript onchange event ,
hook a function that submits a form on select's onchange event
|
|
|
 |
Alex Alexapolsky
|
| Posted: 02/19/2002, 2:35 AM |
|
Do you mean you want to view a record without page reload ?
Then you will need to pre-fill javascript arrays with all records
and use them later on client side. In this case the article
about dependent listboxes would help you.
"How to create dependent listboxes in CodeCharge " http://www.gotocode.com/art.asp?art_id=45&
|
|
|
 |
|