I'm writing a simple webpage for an assignment that requires I make a form that autopopulates if the ID number entered has a match in an external XML document. All was working fine until I started to add another function to execute on submission that will either add or modify a record (through an AJAX call).I'm writing a simple webpage for an assignment