Results 1 to 3 of 3
Feb 20, 2007, 14:14 #1
- Join Date
- Feb 2007
- 0 Post(s)
- 0 Thread(s)
I'm writing a script for a price calculator. It works fine in most browsers, but when it comes to IE it doesn't total properly. You can find it at http://www.aedisweb.com/pricecalculator.php . I've done extensive debugging and I can't figure out exactly what's wrong. If there's anyone out there who can shed some light on this problem or help figure out how to fix it I'd really appreciate it.
Quick explanation of how it works: It finds all inputs on the page with the class out and throws them into an array. Then it takes all the items in the array and does a parseFloat() to get the value in each of the outboxes and adds them together. Somewhere in the process IE is messing up. For details, just look at the script.
Note: prices are mostly dummy figures. I've just thrown most of them in there as numbers to work with.