Jojo Menzies14,085 Points
you have a curly closing bracket on line 16. That's supposed to be the closing bracket for the conditional statement. Means it should be removed and inserted on line 13.
I forked your snapshot and moved the bracket to line 13 and it worked.
Chris Shaw26,637 Points
Hi Chris George,
You should be at least getting an error as your script tag needs to be just before your closing
</body> tag. The reason for this is the
#ajax element doesn't exist at the time of the XHR request running.
Switching the placement of this code will result in it working.
Hope that helps.