-2

I can't find a solution to this. I've looked at this previous question among others.

My code is simple:

$(function(){
    Console.log("Starting");
});

I have firebug open, with the Console tab selected, and the "JS" and "Logging" options selected. I get these two errors:

jQuery.Deferred exception: Console.log is not a function

TypeError: Console.log is not a function

What could be going wrong?

Community
  • 1
  • 1
Jodes
  • 14,118
  • 26
  • 97
  • 156

1 Answers1

1

You're using C instead of c:

$(function(){
    console.log("Starting");
});

Javascript functions and vars are case sensitive.

Martin
  • 1,141
  • 10
  • 23