title: jquery add class if child class has class xxx
body: <p>Trying to add a class to a font tag with class "pricecolor" if child has a class of "PageText_L657n".</p>
  
  <pre><code>    &lt;table width="100%" cellspacing="0" cellpadding="0"&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td width="64%" valign="top"&gt; Stock Item (Usually Ships Within 24 Hours) &lt;br&gt;
          &lt;font class="text colors_text"&gt;&lt;span class="PageText_L483n"&gt;&lt;b&gt;&lt;span class="PageText_L334n"&gt;MSRP&lt;/span&gt;: $4,895.00&lt;/b&gt; &lt;/span&gt;&lt;/font&gt;&lt;br&gt;
          &lt;b&gt;&lt;font class="pricecolor colors_productprice"&gt;&lt;span class="PageText_L483n"&gt;&lt;font class="text colors_text"&gt;&lt;b&gt;Regular Price: &lt;/b&gt;&lt;/font&gt; $1,872.34 &lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;br&gt;
          &lt;br&gt;
        &lt;a class="pricecolor colors_productprice"&gt;&lt;span class="PageText_L657n"&gt;&lt;span style="font-size: 16px; color: rgb(0, 0, 255);"&gt;Click To Get Today's Special Price!&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;
        &lt;td width="36%" align="right"&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  
  &lt;script&gt;
  $(function(){
  $(".pricecolor").child().hasClass("PageText_L657n").addClass("ice1");
  });
  
  &lt;/script&gt;
  </code></pre>