show text box value according to the selected combobox value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fariba123
    New Member
    • Oct 2006
    • 17

    show text box value according to the selected combobox value

    i am developing an employee details website. i am creating a form to insert salary related information. i want that when the employee name is selected from the combobox, the designation and salary of the employee has to be shown in the respective text field from the database in the same form.

    please help me with a easily understandable code example.

    thank you,
    fariba
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    This looks like a typical Ajax solution, whereby you type an employeeno and upon the cursor leaving the field the required data is asynchronously extracted from the database and the form field is updated.

    An example, applicable to your situation, can be found in the "Dynnamic Client Lookup" sample at the dhtmlgoodies site, Ajax Examples

    Good luck.

    Ronald :cool:

    Comment

    Working...