![]() |
|
![]() | ||
|
Subject:
Help troubleshooting shopping web page
Category: Computers Asked by: jacquefuller-ga List Price: $20.00 |
Posted:
26 Apr 2004 10:00 PDT
Expires: 26 May 2004 10:00 PDT Question ID: 336447 |
Someone here helped me set up my shopping age so it would add up across and down. I have added some items to the page and now it will not add down. I have checked everything I can think of with no success. Any help would be appreciated. http://io.amigoslink.org/commerce/mdse2.html |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Help troubleshooting shopping web page
From: bastian-ga on 26 Apr 2004 11:52 PDT |
I'm not sure what the problem is but I hope your dollar totals are calculated server side and not client side as they seem to be. Even though clicking on the price on your page generates "please do not edit this field" anyone who knows anything about html could get around that and put in their own values. |
Subject:
Re: Help troubleshooting shopping web page
From: waterfool-ga on 27 Apr 2004 17:54 PDT |
Since it appears I'm not allowed to answer your question, I'll place my response here. Here are a couple fixes that should do the trick: On line 87 you define an array. In this array you define, you need to change the third item "box.form.Amt40cup" to "box.form.Amt40Cup" (capitalize the 'c'). Also, on line 103, change the statement "sum += arrayOfBoxes[i].value * 1;" to "sum += Number(arrayOfBoxes[i].value);" |
Subject:
Re: Help troubleshooting shopping web page
From: yelladog-ga on 28 Apr 2004 05:04 PDT |
Thanks, waterfool-ga! That did it. I knew it was something like that and I looked and looked, but didn't see the lower case 'c' Takes fresh eyes sometimes. Thanks-a-million. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |