0

I have html page and need to fire an event when changing the content. The text box is in read-only status and it's value change by some other jquery functions. I search through the internet and most of forums said that below code will work.

$('#some_text_box').on('input propertychange paste', function() {
    console.log('fired');
});

But this not works for me.

weeraa
  • 1,123
  • 8
  • 23
  • 40
  • `$('#some_text_box').on('input propertychange paste change', function() { console.log('fired'); }).change();` – guradio Oct 12 '16 at 10:33
  • The answers on the question marked as duplicated wasn't really that helpfull in your case so I gave a new answer there that should contain what you're looking for – Arne H. Bitubekk Oct 12 '16 at 11:13

0 Answers0