Auto change values in input fields
Posted on 2011-03-04
i have many input fields
i want that if i fill value in one field then it will instantly fill or update values in another fields.
here are four coloms and two rows of input fields.
name quantity price total_price
name1 1 100 100
name2 2 100 200
total amount 300
i want once i fill price after quantity script automatic fill the value of total amount by multipling quantity and price.
similarly in second rows and in last it also auto fill the total amount. (eg, 300)