title: Jquery select all elements containing text in ID
body: <p>I have the following code:</p>
  
  <pre><code> var aggrHTML = $('TBODY#aggr &gt; tr &gt; td &gt; table &gt; tbody &gt; tr &gt; td &gt; nobr &gt; b');
             var aggrText = aggrHTML.text();
             var newText = "Total" + aggrText.substring(3);
             aggrHTML.html(newText);
  </code></pre>
  
  <p>What I would like to do is alter the above so I select all elements whose id contain 'aggr'.</p>
  
  <p>Many Thanks,
  Nav</p>