$('input[class="QtyReq"]').keyup(function () { $(this).addClass('selected').siblings().removeClass('selected'); var unitprice = $(this).closest("tr").find('.UnitPrice'); var qtyreq = $(this).closest("tr").find('.QtyReq'); var total = $(this).closest("tr").find('.Total'); total.val(unitprice.val() * qtyreq.val()); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)