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,438
  • 68
  • 55
  • 126

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
  • 102,126
  • 13
  • 159
  • 155