Reputation: 1
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.
Upvotes: 0
Views: 795
Reputation: 104775
You can use input
$("input").on("input", function() {
alert("Changed");
});
Seems to detect right click + paste just fine.
Demo: http://jsfiddle.net/tymeJV/WzZq4/
Upvotes: 1