In general
What you are going to need to do is to use the
debugger which is built into most browsers. You should be concerned with two tabs on it;
network and
console.
The network tab is going to be used to look at the network activity when you make a change in your
select
element. You can look to see what URL is being accessed, the data being sent, and the response that is received.
The console tab you are going to look to see if there are any errors in your javascript.
Reference:
Chrome DevTools | Tools for Web Developers | Google Developers[
^]
Now for your code...
As you are not do an actual form submission, it is not going to change pages with what you have.
IF
your code works as it is written, it is going to simple send the
selected value to Test1, which will then return it verbatim.
And then Test2 is going to display that value in the javascript console.
And that's it
Also... Test1 has an include database reference, which is not used in the code