I have two text boxes on my Form. One is txtNumberOfTablets and the other one is txtTotalQuantity.
I have a HiddenField and I am setting its value in code behind file on page load.
hdfMedicationDosage = "2/3/4";
What I want is, whatever user enters to txtNumberOfTablets textbox, should be multiplied with hdfMedicationDosage value when focus is out of txtNumberOfTablets.
For example txtNumberOfTablets contains value 2, and focus is out of txtNumberOfTablets, then that txtTotalQuantity will have a value 2*2/3*2/4*2 i.e.4/6/8
I want to achieve this in JavaScript.