Fully functioning Ajax now.
Last working version of the javascript before changing keyup to keypress, which is necessary to disable the return key
The arrow keys are disabled.
Oh, if we could just keep it like this
Working perfectly in Chrome now
Final changes for the night