hisuwh Posted August 16, 2010 Share Posted August 16, 2010 Ive been editing my website on my local server and got to a good point.Wanting to show it to some colleagues I uploaded it to my webspace but straight away javascript throws a hissy fit.For some reason I am getting a syntax error on this line character 60 (which is the a of the "loadingcontent" randomly)Any suggestions? document.getElementById("contentwrapper").className = "loadingcontent"; Link to comment Share on other sites More sharing options...
hisuwh Posted August 16, 2010 Author Share Posted August 16, 2010 this is site if it helps anyone solve this:http://amplesound.co.uk/temp/ Link to comment Share on other sites More sharing options...
thescientist Posted August 16, 2010 Share Posted August 16, 2010 can you show us more? Does the element contentwrapper have an ID and a class applied to it? Link to comment Share on other sites More sharing options...
hisuwh Posted August 16, 2010 Author Share Posted August 16, 2010 <div id="contentwrapper" class=""> Link to comment Share on other sites More sharing options...
Ingolme Posted August 16, 2010 Share Posted August 16, 2010 The error console tells me that this is the problem: callAHAH('content.php?ajax=yes&content='+tab+'&database='+, 'contentwrapper',---------------------------------------------------------^ Link to comment Share on other sites More sharing options...
thescientist Posted August 16, 2010 Share Posted August 16, 2010 nm, didn't see the link posted. Link to comment Share on other sites More sharing options...
hisuwh Posted August 16, 2010 Author Share Posted August 16, 2010 The error console tells me that this is the problem:callAHAH('content.php?ajax=yes&content='+tab+'&database='+, 'contentwrapper',---------------------------------------------------------^ Ah thanks ive fixed it. What error console told you this?Cos if id been pointed to the right place i could have fixed it. cheers Link to comment Share on other sites More sharing options...
ShadowMage Posted August 16, 2010 Share Posted August 16, 2010 Probably firebug for firefox. That seems to be the most popular one here. (It's the one I use) Link to comment Share on other sites More sharing options...
Ingolme Posted August 16, 2010 Share Posted August 16, 2010 Not Firebug, just Firefox's normal error console. It's in the line the immediately follows the one you showed. Link to comment Share on other sites More sharing options...
ShadowMage Posted August 16, 2010 Share Posted August 16, 2010 Not Firebug, just Firefox's normal error console. It's in the line the immediately follows the one you showed.Didn't know firefox had a 'normal error console'. 'Course I've never really used firefox without firebug installed... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.