Results 1 to 3 of 3

Thread: ListBox

  1. #1
    Join Date
    Dec 1969

    Default ListBox

    I have a table has 2 column 1.customer name and 2.address. I have a page has a listbox to show the customer name and a text box show customer&#039;s address. when the user changed the customer name in the listbox, the textbox will automatic display the customer&#039;s address. How can I do that? Please help.<BR>I have search ASP messageboard Q & A, but I can&#039;t find a solution. <BR>Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: ListBox

    Look into Javascript.<BR><BR>Thank You,<BR><BR>Matthew Laise<BR>Data Exposure<BR>

  3. #3
    Join Date
    Dec 1969

    Default Javascript Most Likely

    read the records into a client side 2d array, have the list box have values like 0 to the number of records in the table minus 1, then have an on Click event handler for the option box that sees what value is now selected and replaces the text box contents with the 2darray (selectedIndex, 1), which would be the address of the customer.. design it a little further and you&#039;ll see what i&#039;m talking about.<BR><BR>Jason<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts