PDA

View Full Version : Javascript error


armysurplus
04-27-2007, 09:28 AM
Hi I have the following Javascript error and dont know what it means.

Line: 32
Char: 1
Error: Object Expected
Code:0
URL:http://www.army-surplus.org.uk

Any ideas?

Strangely it is actually on this page http://www.forcesreunited.org.uk/onlineshop/acatalog/index.html

Not on the URL above?

david_kw
04-27-2007, 05:22 PM
The problem I see in FF is coming on this line

Error: getCartItem is not defined
Source File: http://www.army-surplus.org.uk/
Line: 20

for the second one I get

Error: getCartItem is not defined
Source File: http://www.forcesreunited.org.uk/onlineshop/acatalog/index.html
Line: 32

Is there a reason you have the <script src...> tags in the body instead of the header? I'm not sure but that may be the problem. I see the function in file actinicextras.js but for some reason it isn't ready yet. I always load external js files in the <head> and don't think I've seen this problem.

david_kw