This is actually my first AJAX attempt, I may have gone around doing what I wish to do completely wrong, or correct apart from some syntaxes or whatnot?
Seems pretty straightforward, to me. If it isn’t broke, you did it correctly. I’m a little OCD, so I’d put a semi-colon after the “})” on the last line, but it’s not going to break if you don’t.