Question
Asked by:
$2.00 JavaScript code debugging
- From Computer-Science: Object-Oriented-Programming
- Closed, but you can still post tutorials
- Due on Dec. 03, 2008
- Asked on Dec. 01, 2008 at 12:54:40AM
Q:I need help debugging this JavaScript code. For some reason, the prices are not showing up in the 'price' column of the page. They should show up when I click 'add to cart' but they don't. I really can't figure out what I did wrong since everything looks right. I've attached all the files here. The file titled 'Web Shoppe' is the main webpage file in which these errors are occurring. 'New Product Line' contains all the code for the items listed on the page. Here is a screenshot of the problem: http://i17.photobucket.com/albums/b91/chilki_chokri/screenshot.jpg
If someone can look at this and let me know what the errors are, I'd really appreciate it. Thanks!Attachments:
AddToCart.txt (1K)
Web-Shoppe.txt (0K)
NewProductLine.txt (8K)
To which psha85 said: Sorry for the confusion. I have uploaded a screenshot to the following URL: http://i17.photobucket.com/albums/b91/chilki_chokri/screenshot.jpg . Basically, the problem is on the right hand side of the page. When I click the add to cart buttons, the price should show up under the price column but it is not doing so and I'm not sure why. Any help will be appreciated. Thanks!



