I have a form with an input control, and a submit button. I would like the user to be able to enter their zip code, and then perform a Google search with what they entered into the input field.
I tried searching online, but couldn’t find what I was looking for. I already know the query string format for a Google search, just a little rusty on my HTML and JavaScript.
Try:
Here’s an example on jsfiddle.
You should consider creating a Google Custom Search though.