jQuery catch paste input
Posted
by Christoffer Winterkvist
on Stack Overflow
See other posts from Stack Overflow
or by Christoffer Winterkvist
Published on 2009-03-26T18:24:52Z
Indexed on
2010/05/21
12:20 UTC
Read the original article
Hit count: 278
I'm looking for a way to sanitize input that I paste into the browser, is this possible to do with jQuery?
I've managed to come up with this so far:
$(this).live(pasteEventName, function(e) {
// this is where i would like to sanitize my input
return false;
}
Unfortunately my development has come to a screeching hold because of this "minor" issue. I would really make me a happy camper if someone could point me to the right direction.
Thanks in advance.
© Stack Overflow or respective owner