Apply jQuery plugin in title is present
<p>I have a jQuery pluging that I currently apply to a particular class</p>

<pre><code>$(".myClass").myPlugin({ ... });
</code></pre>

<p>Currently it will apply it to any <code>&lt;th&gt;</code> in my table that has the class <strong>.myClass</strong></p>

<p>How can I re-write the code to call that plugin if the class is present <strong>and</strong> <code>&lt;th&gt;</code> has the <strong>title</strong> attribute?</p>
