Hi,
i have three textboxes in my page to multiplication like
Quantity*Rate*INR Rate = Total Amount
i did for two textboxes like below
but i want it three textboxes multiplication = Total Amount
Regards,
Lokesh K.
function Calculate() {
var txt1 = document.getElementById('<%= txtqty.ClientID%>').value;
var txt2 = document.getElementById('<%= txtrate.ClientID%>').value;
if (txt1 != '' && txt2 != "")
document.getElementById('<%= txtamount.ClientID%>').value = eval((parseInt(txt1) * parseInt(txt2)));
else
document.getElementById('<%= txtamount.ClientID%>').value = 0
}