Submit the form, it will display the response in an alert.
It requests a chunk of JavaScript from the server, then runs it immediately. It uses a get request.
We attach a function to the ‘submit’ event of #frmMain.
This submits the form, and runs its response (a chunk of JavaScript) immediately.
The syntax it uses for this is ssGetScript("frmMain").
This introduces ssGetScript, our function for retrieving a script from the server, based on a ‘get’ request.
N.B. ‘get’ requests differ from ‘post’ requests in that they pass the contents of forms as query strings.