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 post 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 ssPostScript("frmMain").
This introduces ssPostScript, our function for retrieving a script from the server, based on a ‘post’ request.
We also have a ‘get’ version of this, called ssGetScript.