Column/field value

QuestionsColumn/field value
germanmary asked 10 years ago


I have scenario

if the discount percentage is entered or the amount is >0 then the discount amount has to be calculated automatically else it has to accept the amount entered in the discount amount field

how to do it

i have done for automatic calculation but how to get the dynamic value entered in the discount amount field.

function update_discount()

parseFloat(jQuery('input[name="totalamount"]:visible').val()) *

please help me

1 Answers
Abu Ghufran answered 10 years ago

Please share complete code for review.
You can use and share the code link.

Your Answer

13 + 18 =

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?