hybrid kill3r Posted August 20, 2009 Share Posted August 20, 2009 I'm getting an error in firebug's error console for the following line: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Would this be considered a JavaScript error? it's the only error showing up and my JS code isn't working at all. Link to comment Share on other sites More sharing options...
Ingolme Posted August 20, 2009 Share Posted August 20, 2009 Does it give a description of the error? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 20, 2009 Share Posted August 20, 2009 Firebug says line 1 when there isn't necessarily a line number to report. The error message is what's important. Link to comment Share on other sites More sharing options...
hybrid kill3r Posted August 21, 2009 Author Share Posted August 21, 2009 Link to comment Share on other sites More sharing options...
Ingolme Posted August 21, 2009 Share Posted August 21, 2009 From the look of it, you have a DOCTYPE declaration in your JS file.JS files are only meant to have Javascript, not HTML. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.