hello all,
var rows = $(".sometable tr:last");
var cells = $(".sometable tr:last td").filter(function() { return $(this).html().length == 0 });
i want to get first empty cell in the last row of my table.
the table is rendered from the server and it is html table. i can iterate to cells and get the first cell if there are elements available. But i do not want to do that.
Is there any other way without looping. After getting first element i want to call jquery .html('set') method to set soem html data.