I\'m trying some event bindings with jQuery, and I have this simple code in my document ready:
$(document).ready(function() {
$(\"p a\").each(function(i,
I think somehow the alert is actually causing the extra events in Chrome. With the following code I only see one event.
$(document).ready(function() {
$("p a").each(function(i, selected){
$(selected).hover(
function(event) { $("p").append('
over: ' + event.type); },
function(event) { $("p").append(' out: ' + event.type); });
}
)
});