Sir,
How to make some fields to be non editable after calling some custom calculation functions.
ie.
function calculatekgfat()
{
var kgqty= (($("input[name=kgqty].editable").val()*$("input[name=fat].editable").val())/100);
$("input[name=kgfat].editable").val(parseFloat(kgqty).toFixed(2)) ;
$("#kgfat").attr("disabled", "disabled");
calculatekgts() ;
}
1 Answers
Your Answer