I have a valid break point in javascript, but the firebug is showing that as (?)
left panel. Whats the error.
我在javascript中有一个有效的断点,但是firebug显示为(?)左侧面板。什么是错误。
However the code is working fine in jsfiddle. http://jsfiddle.net/kcEjN/ I have check and jquery is loaded correctly.
但是代码在jsfiddle中正常工作。 http://jsfiddle.net/kcEjN/我已经检查并正确加载了jquery。
2 个解决方案
#1
1
Enclosing with
附上
$( document ).ready(function() {
$("#abc").click(function() {
alert("I am alteast here");
document.write("<p>I am inside script avaScript</p>");
} );
});
solved the issue.
解决了这个问题。
#2
0
You don't need Firebug to debug this - I tested in the JSFiddle, and what you want to do works with the built in debugger:
你不需要Firebug来调试它 - 我在JSFiddle中测试过,你想要做的是使用内置的调试器:
It could be that Firebug is getting confused about references, maybe using previously loaded frame's context?
可能是Firebug对引用感到困惑,可能使用以前加载的框架的上下文?
#1
1
Enclosing with
附上
$( document ).ready(function() {
$("#abc").click(function() {
alert("I am alteast here");
document.write("<p>I am inside script avaScript</p>");
} );
});
solved the issue.
解决了这个问题。
#2
0
You don't need Firebug to debug this - I tested in the JSFiddle, and what you want to do works with the built in debugger:
你不需要Firebug来调试它 - 我在JSFiddle中测试过,你想要做的是使用内置的调试器:
It could be that Firebug is getting confused about references, maybe using previously loaded frame's context?
可能是Firebug对引用感到困惑,可能使用以前加载的框架的上下文?