<
pre
class
=
"brush: js"
>
// Comment<table>
<tr><td><asp:Label ID="lblAmt" runat="server" CssClass="jqHDHP">5.00</asp:Label ID><td> </td><td><asp:Label ID="lblTotal" runat="server" CssClass="jqNet">5.00</asp:Label ID></td></td></tr></table>
// In this Jquery snippet we will loop over total label (jqNet) & find the value of Amount label which is previous to previous td of total label
//var sNet = $(this).html();
alert(total); });
alert(total);
});
$('.jqNet').each(function () {
var total = parseFloat($(this).closest('td').prev().closest('td').prev().find('.jqHDHP').html());}
</
pre
>