title: Jquery - Span Containing effekcts all span on page
body: <p>I have this code its working way to good, in that sense that in make display:none on all spans on page and not only this field.</p>
  
  <p>Can anyone see whats wrong and why it applies to all spands and not only $TField.?</p>
  
  <pre><code>$(document).ready(function() {
  $('label[for=customfield" . $TField-&gt;id . "], input#customfield" . $TField-&gt;id .   "').hide();
  $('#frmCheckout').find('span:contains(\"" . $TField-&gt;description . "\")').hide();
  $('.form-group').find('span:contains(\"" . $TField-&gt;description . "\")').hide();
  });
  </code></pre>
  
  <p>I have looked at a number of post here but cant figure this quite out why its effectic all spans on page and not just this one. </p>