how can i call and pass value to javascript on conditional statment?
or
how can i call and pass value to php method on conditional statment?
In conditional data, you can have a <a href> tag that passes your row value to other script.
you can use column placeholder {column-name}.
Refer demos/appr/conditional-data.php
hi,
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()
{
jQuery('input[name="discamount"]:visible').val(
parseFloat(jQuery('input[name="totalamount"]:visible').val()) *
(parseFloat(jQuery('input[name="disc"]:visible').val()/100)
)
);
please help me