I'm attempting to collect the user's input and execute a search using an API. At this point, I can use the API (ebay search) by typing keywords into the html document- but I want the user to be able to type the keywords for searching. I created a simple modal with a form containing text input and a submit button. I gave the input an id of =searchobject, so I can retrieve the user input by id. What I can't figure out is how to use the Submit button to push the user input to where I would put the keywords. Then the page should show the results of the users input.
Collecting user input to use as query with API
javascript;jquery;user interface;forms