I need to get the value of an html input after some text has been pasted. Seems obvious to handle the input's onpaste event, but that appears to fire before the text is actually pasted.
For example...
When one pastes some text into that input the alert shows an empty string. Clicking ok then shows the pasted text appearing in the text box.
I've tried using setTimer("someFunction()", 1), then looking at the input inside someFunction(), but that seems like a kludge.
What's the best way to get to the input's text after something's been pasted?
Thanks! Curt