title: Detect if text is being inserted to input field by jquery then run a function
body: <p>I have an input field which is being set to readonly by html attribute <code>readonly</code> I am inserting text into that field using jQuery <code>.html()</code> method:</p>
  <pre><code>&lt;input type=&quot;text&quot; id=&quot;myField&quot; readonly=&quot;readonly&quot; /&gt;
  </code></pre>
  <p>now I have a function <code>myFunction()</code> and I want it to be called when ever the text is being inserted to that field by jQuery.</p>