applying filters on controls
<p>On the click of a table row, I am performing some action.</p>

<p>However I want a filter to be applied. If my tr contains another tr or a table inside it, the click should not be valid for that row</p>

<pre><code>$("#tbl1 tr").filter(function() {
    //?? 
}).click(function(){ 
    //alert
});
</code></pre>

<p>What do i write in the filter?</p>

<p>UPDATE: Never mind. I applied a class and solved it.</p>
