我有一个带有以下代码的 Firefox 插件:
$("table > tbody > tr > td[width='600']").wrapInner("<div id='content_cont' />");
那行代码执行,但它后面的所有行都没有。它会在 Firefox 错误控制台中抛出一个代码超过 500KB 的错误。
代码:
An exception occurred.
Traceback (most recent call last):
File "resource://jid0-ib8arkgejpxo7qidkuieut5rquk-at-jetpack/flvs-educator-release-version/data/redesign.js", line 49, in
$("table > tbody > tr > td[width='600']").wrapInner("<div id='content_cont' />");
File "resource://jid0-ib8arkgejpxo7qidkuieut5rquk-at-jetpack/flvs-educator-release-version/data/jquery.js", line 2, in .wrapInner
(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s)...<tons of meaningless code>...&define("jquery",[],function(){return p})})(window);
ReferenceError: Begin is not defined
我不明白它为什么这样做。语法错了吗?