troubleshooting Question

Why does onkeyup event delete the last letter typed when on mobile device?

Avatar of Seth Hanley
Seth HanleyFlag for United States of America asked on
Web DevelopmentHTMLMobileJavaScript
6 Comments1 Solution17 ViewsLast Modified:
Im having a problem sending an xmlhttp get request.  Im using onkeyup = 'sendRequest(this.value)' .  It works fine on a laptop device but on mobile it deletes the last letter typed.  I discovered this by sending a second request and echoing back the input value.  The text in the input field are correct but the callback fails.  It flashes the result but then you have to delete and type again the last letter.  I've tried oninput combination and touchend I believe requires a canvas.  I just want my search sent without a form or button.  Any Help would be appreciated.  
Seth Hanley
amateur developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
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