I have a working jQuery statement as follows
var firstHeaderLineElement = $(".resultGridTable .tableColGroupAssociate");
I need to make this more generalized by making .tableColGroupAssociate as a variable. I have achieved this using following:
var hideClass = '.tableColGroupAssociate';
var firstHeaderLineElement = $(".resultGridTable").find(hideClass);
However, it requires a "find". Is there a better performing jQuery way for this?