inliene edit

Questionsinliene edit
german asked 2 years ago

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
Abu Ghufran answered 2 years ago

This seems to be correct way and should work.
Please tell the issue you are facing, along with screenshot+complete code.

Your Answer

10 + 18 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!