I have three textboxes, when I modify either textbox A or Textbox B Textbox C should change to A*B e.g. If A is 3 and B is 4 C is 12… if i change B to 5 C should automatically change to 15. js fiddle here: http://jsfiddle.net/Lazyboy4ever/mfyh2/
Share
Bind the
.change()event handler toinputsAandB, convert theirvalueto a number usingparseFloat(), multiply them, and assign the result toC:DEMO.