Steve Sea
11-03-2007, 02:45 PM
Hi Chaps
Got a problem, I'm using a small script when you select a button with a number on it, it returns that number in written word,
ie. press button 10 and the word "Ten" pops up this is all working OK and the back bone of the code is below what I'm trying to re produce now is if someone presses "100 + 30" it will return (in figures) "130" so is there anyway of adding up the values in the Input tag and displaying it. if you need to see why you can pop to my website, its to place the input in the amount box so visitors can double check the amounts they have entered
www.euro-cheque.com
<input name="Thousands" type="button" onclick="showNumber1('One thousand');" value="1000"><br>
Any help or comments are appreciated
Steve C.
Got a problem, I'm using a small script when you select a button with a number on it, it returns that number in written word,
ie. press button 10 and the word "Ten" pops up this is all working OK and the back bone of the code is below what I'm trying to re produce now is if someone presses "100 + 30" it will return (in figures) "130" so is there anyway of adding up the values in the Input tag and displaying it. if you need to see why you can pop to my website, its to place the input in the amount box so visitors can double check the amounts they have entered
www.euro-cheque.com
<input name="Thousands" type="button" onclick="showNumber1('One thousand');" value="1000"><br>
Any help or comments are appreciated
Steve C.