This code works in FireFox.
I have to fix it for IE and Chrome.
In Google Chrome and IE the backspace key doesn't work. You don't receive the binary zero that you do in FireFox. To get it working on IE I changed it to get keyCode instead of charCode and that lets IE detect the characters. |
|
This JavaScript code which uses AJAX
to look up names from an SQL table
on the server.
Type in any letter and AJAX will show you all the choices that begin with that letter. As you continue typing AJAX will narrow down the list to all the choices that match what you type. |