Jump to content

2 combo boxs


houssam_ballout

Recommended Posts

Hello all,I'd 1 combo box and 1 input box, one for the Customer Name and the second is for the Customer Telephone, so the 2 are related to each others. When the user selects the Customer Name, I want the Telephone to be displayed in the 2nd box, what function should I use? Should I use JavaScript?Thanks in advance

Link to comment
Share on other sites

It depends really, where does it find the telephone number? If you wanted it to update instantly you'd need to use JavaScript and maybe AJAX ( - if the information is accessed from a database or requires a server-side programming language). If it can be done i'd say use a JavaScript array, that way the process will be a lot faster and smoother.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...