Google Answers Logo
View Question
 
Q: Help troubleshooting shopping web page ( No Answer,   3 Comments )
Question  
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
Answer  
There is no answer at this time.

Comments  
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.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy