---
title: "firebug syntax error"
author: "phpxiaoxin"
date: "2009-11-13T13:35:45Z"
tags: ["Blog", "Firebug", "HTML", "JavaScript", "XHTML"]
slug: "firebug-syntax-error"
draft: false
lastmod: "2009-11-13T13:35:45Z"
id: 516377
url: "https://phpxiaoxin.iteye.com/blog/516377"
---

今天下午firebug报了以下错误：

firebug:

syntax error

[&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\\n]()

 

查了一下原因是有javascript有下面类似的标签

&lt;script src=""&gt;&lt;/script&gt;

主要是：src=""

 

详细参考：http://hi.baidu.com/liangtiy/blog/item/a8d514c759aa06d5d10060d8.html