troubleshooting Question

Ajax response skipping (Validation fields)

Avatar of ultramoo
ultramoo asked on
6 Comments1 Solution521 ViewsLast Modified:
I'm fairly new to the world of Ajax and Java Scripting

I have created a textbox validation using ajax (runs a PHP file which checks and responds)

Everything seems to run fine but I've noticed that if the user types fast enough, validation is not fully checked or is skipped. Try it here:
Example: Username character size must be greater than 5.
Type fast, enter 6 letters, and then tab out.  The error message will still be stuck on "User Name is too short!" when it should really say OK

Anyone experienced this problem before?
My javascript executes on keypress or on blur. Feel free to view the source of my code from that link. If you need further code let me know.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros