I have the following code which is giving me a Method POST, Status (canceled) error message:
Method POST, Status (canceled)
$(document).ready(function() { var xhr = false;
You are using the keyup event, which seems to be the problem.
keyup
If anything at all, you need to wait after typing one character before taking action.
A better solution might be to follow the same strategy as the JQuery AutoComplete COmponent.
JQuery AutoComplete COmponent