Originally Posted by brk
After you fill the second field you are redirected automatically to the results page, without clicking on anything.
In this case, you need AJAX.
Here is a good tutorial
to get you started.
Add an onchange event handler to your 2nd input to send the AJAX to the server which will then get and return the requested data to your results page.