The following function submits the data of formEle to the back-end using an Ajax request
Ajax
Upload files with ajax
This function sends selected files from a fileEle element to a back-end.
Ajax Loader 2
Use this script to load XML and HTML files with XMLHTTPREQUEST. In the div id=EchoTopic tag, just add the name of the file to load and the element to display the file in, usually a div element.
XMLWriter
This is a JavaScript class, based on .NET’s XMLTextWriter. This is not a port, but a reduced and adapted version. It allows you to easily generate XML. The script is heavily commented for complete understanding.