0

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.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

1 Answers1

1

You can use input

$("input").on("input", function() {
    alert("Changed");
});

Seems to detect right click + paste just fine.

Demo: http://jsfiddle.net/tymeJV/WzZq4/

tymeJV
  • 103,943
  • 14
  • 161
  • 157