select box into 2 text boxes

Results 1 to 2 of 2

Thread: select box into 2 text boxes

  1. #1
    Join Date
    Dec 1969

    Default select box into 2 text boxes

    I want to have a select box FORM_OPTIONS with values taken from a db <BR>DESC and COST <BR><BR>So then a user can either select from the list which will onchange or something enter its values directly into the text boxes FORM_DESC and FORM_COST <BR><BR>OR <BR><BR>they can enter in manually a custom option and cost in FORM_DESC and FORM_COST <BR><BR>is this possible in JavaScript ?<BR>

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Sure you can

    in the on change event, set the values of the text bow with whatever you want<BR><BR><BR>you have to have the DESC and COST in the value (or even text)of the option delimited and then split by that delimiter and display in the text boxes<BR><BR><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