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 Link to comment https://forums.phpfreaks.com/topic/37712-solved-javascript-error/ Share on other sites More sharing options...
jini01 Posted February 9, 2007 Share Posted February 9, 2007 worked fine when I tried it Link to comment https://forums.phpfreaks.com/topic/37712-solved-javascript-error/#findComment-180425 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" Link to comment https://forums.phpfreaks.com/topic/37712-solved-javascript-error/#findComment-180428 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... Link to comment https://forums.phpfreaks.com/topic/37712-solved-javascript-error/#findComment-180648 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 Link to comment https://forums.phpfreaks.com/topic/37712-solved-javascript-error/#findComment-181042 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.