Forum Moderators: travelin cat
Could anyone on a Mac go to <trim>
click the buy online button and let me know if they can click the calculate button?
I would gladly reciprocate any test on a Windows IE/NS/FireFox
[edited by: Brett_Tabke at 3:33 pm (utc) on April 5, 2005]
[edit reason] no real need for the url... [/edit]
Posting URLs is against the terms of service, and you may find a moderator comes along and removes your URL
While it was on show I tested your page on MacOs X
Safari and IE5 : Calculate didn't work
Firefox and Opera : Calculate did work
I use Safari for all my browsing, online banking and online shopping, so there's obviously something a bit suspect with your Javascript, as I seldom have problems. Safari will the the browser of choice of most of your Apple customers.
That's as far as I can help!
DerekH
In your case, you're using a javascript 1.5 feature, .toFixed(). It's meant to provide decimal precision but even in browsers which support it, the output is not reliable. There's plenty of information out there so I won't repeat here what you can find in a search engine.
Welcome to Webmasterworld, blamokh!
whoisgregg, thank you for pointing out the .toFixed problem, I searched online and found that it is not compatible with all browsers.
I replaced that part of the code with a function that uses math.round, would that make the "Calculate" button work now?
I replaced that part of the code with a function that uses math.round,
Your site's not showing the new code, but yes, I'm sure that will fix it. If you'd like to upload new code and have someone check it, just send me a sticky mail instead of posting to the forum. URL's aren't permitted but I am one of many mac webmasters here willing to help debug when I have the time. :)