Using the value from a textbox in a form

Discussion in 'HTML & Website Design' started by tintumon, Sep 11, 2010.

  1. #1
    Hi,
    I have a page with a form that uses js & xml to 'autosuggest' as the user types words into a textbox.
    I have another page with a form with a hard coded drop down menu that uses js & xml to return data from an xml file.
    I want to get rid of the hard coded drop down menu and use the results from the autosuggest to return the data from the xml file.
    I'm wanting this all on one page.
    The 2nd part (ie. returning the data) could be run with a button click event.
    How can I get the value of the textbox, once the user has selected something from the autosuggest, into the 2nd part of the page ready for the button click. I'm sure this is quite simple but I'm very much a beginner at all this!
    Thank you for your help.

    autosuggest.html

    return_data.html

     
    tintumon, Sep 11, 2010 IP