Submit the form, it will display results in the box below, by making an ‘Ajax’ get request.
We attach a function to the ‘submit’ event of #frmMain.
This submits the form in an ‘Ajax’ way, inserting the response into #detailsBox.
The syntax it uses for this is ssGetFile("detailsBox","frmMain").
This introduces ssGetFile, our Ajax ‘get’ function for forms.
N.B. ‘get’ requests differ from ‘post’ requests in that they pass the contents of forms as query strings.