I have an AJAX search script I'm making and it gives results in real time - problem is, I can't get my search function to trigger if the input is entered via right-click-paste method.
I've tried onchange and I've tried the jquery change events - nada. Then I tried the onmouseup event but it turns out it fires outside the input element because the right-click menu extends beyond its borders if that makes sense.
I've decided I can probably accomplish this with an entire document click handler that checks for the input text element's value length being greater than 0 when it triggers, but that seems sloppy and overkill.
Does anyone has a better suggestion?