1

I have a valid break point in javascript, but the firebug is showing that as (?) left panel. Whats the error.

However the code is working fine in jsfiddle. http://jsfiddle.net/kcEjN/ I have check and jquery is loaded correctly.

enter image description here

Muthu Ganapathy Nathan
  • 3,199
  • 16
  • 47
  • 77

2 Answers2

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.

Muthu Ganapathy Nathan
  • 3,199
  • 16
  • 47
  • 77
  • That's a good idea, but that doesn't really make sense - window load should always be after DOMContentLoaded. – NoBugs Aug 06 '13 at 04:38
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:

enter image description here

It could be that Firebug is getting confused about references, maybe using previously loaded frame's context?

NoBugs
  • 9,310
  • 13
  • 80
  • 146