Partial match on JQuery selector
<p>To get all <code>&lt;td&gt;</code> elements text that starts with "ELEC...", I am doing -</p>

<pre><code>$('td.id').each(function(){
    if ($(this).text().indexOf('ELEC') == 0) {}
});
</code></pre>

<p>Is there a simpler way to do this, something like <code>$('td.id:contains("ELEC*")')</code> ?</p>
