Could somebody try this quickly?

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
SpiderMonkey
Forum Commoner
Posts: 85
Joined: Fri May 05, 2006 4:48 am

Could somebody try this quickly?

Post by SpiderMonkey »

http://www.johnhubbardantiques.com/order.html

Place an order then try fiddling with the controls on the next page (basket.php)

Are there any Javascript errors?

I'm trapped in a totally PC-free zone and can't do this myself unfortunately.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Javascript warning:

Code: Select all

Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead.
Source File: http://www.johnhubbardantiques.com/basket.php
Line: 110
Also on the menu, changing quantity does not change the price field amount. Now this may simply be because the price calculated is for ONE product, not for how many you are thinking of ordering. Thought I'd note it since I would have expected changing quantity to update the price...
SpiderMonkey
Forum Commoner
Posts: 85
Joined: Fri May 05, 2006 4:48 am

Post by SpiderMonkey »

Thanks for spotting that quantity bug. Fairly sure thats a case of going back to an earlier version of my code without remembering to redo changes.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Happy to help :wink:
Post Reply