Equivalent jQuery with variable for single line jQuery
<p>I have a working jQuery statement as follows</p>

<pre><code> var firstHeaderLineElement = $(".resultGridTable .tableColGroupAssociate");
</code></pre>

<p>I need to make this more generalized by making .tableColGroupAssociate as a variable. I have achieved this using following:</p>

<pre><code>    var hideClass = '.tableColGroupAssociate';
    var firstHeaderLineElement = $(".resultGridTable").find(hideClass);
</code></pre>

<p>However, it requires a "find". Is there a better performing jQuery way for this?</p>
