inliene edit

Questionsinliene edit
german asked 3 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 3 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

2 + 19 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?