Can i Detect if .text() is called on a button?
<p>Suppose i have the following html:</p>

<pre><code>&lt;button class="inforTextButton" id"myButton"&gt;
   &lt;span class="leftSlice"&gt;&lt;/span&gt;
   &lt;span class="centerSlice"&gt;Approved&lt;/span&gt;
   &lt;span class="rightSlice"&gt;&lt;/span&gt;
&lt;/button&gt;
</code></pre>

<p>If i call the following command in jQuery: </p>

<pre><code>$("#myButton").text("New Text");
</code></pre>

<p>It will replace all the spans with the text.  </p>

<p>Is there anyway to detect this event? What i would like to do at that time is prevent it from replacing all the contents and instead change the centerSlice. </p>

<p>Now I know i could call: <code>$("#myButton").find(".centerSlice").text("New Text")</code> but thats not what exactly the point of my question. In case in the future my button implementation changes and I am trying to see if this is possible in some way to detect which i am missing..</p>

<p>I tried textchange - seems like this does not fire on buttons.</p>

<p>Thanks</p>
