On the click of a table row, I am performing some action.
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
$("#tbl1 tr").filter(function() {
//??
}).click(function(){
//alert
});
What do i write in the filter?
UPDATE: Never mind. I applied a class and solved it.