-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
CL22
  • 13,696
  • 23
  • 83
  • 147

1 Answers1

1

You're using C instead of c:

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

Javascript functions and vars are case sensitive.

Martin
  • 1,103
  • 10
  • 20