December 10, 200916 yr [sOLVED] This is doing my flipping head in, I have 1 javascript error in IE it says; Error expect '/' Can anyone enlighten me to what this is? Even after removing all javascript off the page as well as all modules connected to the page that use javascript it still shows!! (I'm using Joomla btw). Heres an image, forgive me for showing the IE Logo!!!
December 10, 200916 yr You can't really trust errors to do with js thrown by IE. Normally FireBug in FireFox will give a better explanation of the error, have you tried that?
December 10, 200916 yr Author Urm, I only get the error in IE but I'll check with web dev tb, thanks mate
December 10, 200916 yr It complains about this line : <input id="searchbutton2" type="button" name="Search" onclick="/index.php?option=com_community&view=register&Itemid=91" /> onclick ="/index.php?option=com_community&view=register&Itemid=91" ?? This is not how it works. It expects a JavaScript ... so if you want to go to this url "/index.php?option=com_community&view=register&Itemid=91" after clicking the button you need to do it this way : onclick = "location.href = '/index.php?option=com_community&view=register&Itemid=91'" edit: btw you have twice id = "searchbutton2" on the page. Peter
December 10, 200916 yr Author It complains about this line : <input id="searchbutton2" type="button" name="Search" onclick="/index.php?option=com_community&view=register&Itemid=91" /> onclick ="/index.php?option=com_community&view=register&Itemid=91" ?? This is not how it works. It expects a JavaScript ... so if you want to go to this url "/index.php?option=com_community&view=register&Itemid=91" after clicking the button you need to do it this way : onclick = "location.href = '/index.php?option=com_community&view=register&Itemid=91'" edit: btw you have twice id = "searchbutton2" on the page. Peter Ilove you. Thanks, and thanks for pointing the searchbutton out too, it's a bit messey in there at the minuet!
Create an account or sign in to comment