canEHdian Posted February 9, 2007 Share Posted February 9, 2007 Hey, I'm working on this webpage and for some reason, I keep getting a JavaScript error on this one page whenever the "Add to Cart" button is pressed. http://cabdepot.com/new/view_product.php?part_no=CC8354STD&oem_mfg=Cub+Cadet&mach_type=Tractor When you compare it to any other page like this: http://cabdepot.com/new/view_product.php?part_no=52288006&oem_mfg=Kubota&mach_type=Front+Mount+Mower the button works. I've been at this for awhile and can't find the problem. If anyone could point out what's causing the error, it would be greatly appreciated! Note: The error ONLY occurs with IE 6. With Firefox or IE 7, it works fine. Thanks Quote Link to comment Share on other sites More sharing options...
jini01 Posted February 9, 2007 Share Posted February 9, 2007 worked fine when I tried it Quote Link to comment Share on other sites More sharing options...
canEHdian Posted February 9, 2007 Author Share Posted February 9, 2007 worked fine when I tried it What browser are you using? When I try it in IE 6.0, it gives me an error saying "A Runtime Error has occured. Do you wish to Debug? Line: 0 Error: Invalid syntax" Quote Link to comment Share on other sites More sharing options...
fenway Posted February 9, 2007 Share Posted February 9, 2007 Line 0 usually means something from an eval, like a setTimeout... Quote Link to comment Share on other sites More sharing options...
canEHdian Posted February 9, 2007 Author Share Posted February 9, 2007 I figured it out; it turns out the number of variables was too many for GET method. When I switched to POST, it worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.