faqts : Computers : Programming : Languages : PHP : kms : Functions

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

how to show a value in a text box just by clicking an option in the list box?

Jan 9th, 2006 00:52
Praveen Kumar Kukkapalli, Karuna,


You need to submit the form upon selecting the option in the list box.
You can do it using java script also. Sleect all the options and its
relevent values before showing and store them as an array in Javascript
so that upon selecting the option you can show teh respective value. It
need not require to send the request to the server but we need to select
all the values which will make more load on server if you have to select
a large list of values...