I have a jsfiddle here - http://jsfiddle.net/aN665/
Really simple I have a group of button that I’m trying to add an click event to in a loop but I’m getting the error
Uncaught TypeError: object is not a function in the console
What does this mean, how do I do this ??
I know it will alert 4 for all - I can fix that
I’m still unsure why the original jQuery didn’t work
The reason the original fiddle didn’t work is that you forgot to include jQuery (which you do in the top left hand corner under “frameworks and extensions”).
The error I get is:
Uncaught ReferenceError: $ is not defined
where are you seeing: