Adding an event handler - a bug?


Is there anything wrong with this code?
I followed the guidelines, but after clicking "save * submit" and clicking the planet, it does not disappear and I get the following error message:
"Uncaught TypeError: "div".click is not a function"

I also tried resetting the code. Didn't help.

If it's a bug, how can I handle it?

$(document).ready(function() {
('div').click(function() {


Forgot the $ before the ('div').. now it works just fine.