I have something like:
$(document).ready(function() {
var numberOfTables = 3;
});
Is there anyway that I can access numberOfTables value from Firebug Console, without having to type inside my script something like: console.out(numberOfTables)?
numberOfTablesis internal scope.so you cant see it
however consider removing the
VARkeyword ( just for debugging !!!)and it will
globalso you can see it.