Validating a text box
I have a form which contains a text box in which the user will input employee numbers. I want to validate the number that was entered by comparing it to an SQL table which contains a list of valid employee numbers. I want to ensure that the employee number entered in the text box is also contained in the SQL table. Can I use a JavaScript onChange event to read the SQL table to validate the text box?
|