neilfurry Posted November 12, 2013 Share Posted November 12, 2013 hi i need help on this, i have three input fields in html form lets say: input 1 = 10 input 2 = 3 input 3 = 13 (sum) so whenever i change values of input 1 or input 2 it will still compute for the sum.. so if: input 1 = 4 input 2 = 3 input 3 = 7 (sum) im using "onchange" method here.. thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/283836-addingsubtracting-problem/ Share on other sites More sharing options...
requinix Posted November 12, 2013 Share Posted November 12, 2013 How about a question? Maybe "Why doesn't the sum change when I type?" Or how about "Why do I get 43 instead of 7, and 103 instead of 13?" And post code while you're at it. Quote Link to comment https://forums.phpfreaks.com/topic/283836-addingsubtracting-problem/#findComment-1457987 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.