I have this (simple) question regarding an array. I am trying to get the total of all the board-feet that was entered in the html. Here’s a running sample code: click here
(Thanks to AsKaiser for that code).
Now, what I want to do is that everytime I click the go button, it will automatically compute that total board-feet that was being entered in that array. So, everytime I input something in that form and clicked go, the data will go to that array and the total of all board-feet will be displayed in the input box below. It will constantly change as I add data to my array.
I can’t get it to work and always have a NaN value for my total.
See this: http://jsfiddle.net/ghostoy/8xFFH/195/