In my context i want to call a function for (onkeypress and onpaste and mouse ~> click paste) but unable to handle "mouse ~> click paste"
so I need a event that handles propertychange for html input that works for all browsers.
Asked
Active
Viewed 773 times
0
Brian Tompsett - 汤莱恩
- 5,438
- 68
- 55
- 126
-
May be this help, looks similar to your problem http://stackoverflow.com/a/441647/2261259 – Voonic Sep 10 '13 at 18:20
1 Answers
1
You can use input
$("input").on("input", function() {
alert("Changed");
});
Seems to detect right click + paste just fine.
tymeJV
- 102,126
- 13
- 159
- 155