I am not a programer but I enjoy building prototypes. All of my experience comes from actionScript2.
Here is my question. To simplify my code I would like to figure
No need to use .each. click already binds to all div occurrences.
.each
click
div
$('div').click(function(e) { .. });
See Demo
Note: use hard binding such as .click to make sure dynamically loaded elements don't get bound.
.click