jQuery .bind() nicht richtig funktioniert

Ich bin versucht zu binden-Funktionen, um diese Ereignisse mit jQuery:

$("#cmplist tr").bind('onmouseover', function(){
    console.log('1');
});

$("#cmplist tr").bind('onmouseout', function(){
    console.log('2');
});

$("#cmplist tr").bind('click', function(){
    console.log('3');
});

Doch keiner von Ihnen scheint zu arbeiten. Ich bin einigermaßen sicher, dass meine Selektoren sind richtig, denn wenn ich in der Konsole eingeben $("#cmplist tr") es gibt:

[tr, tr#survey3, tr#survey20, tr#survey22, tr#survey26, tr#survey28, tr#survey29, tr#survey30, tr#survey33, tr#survey34, tr#survey6, tr#survey19, tr#survey14, tr#survey32, tr#sweepstakes5, tr#sweepstakes9, tr#coupons5, tr#freesample4, tr#freesample5, tr#freesample6, tr#freesample7, tr#gifts3, tr#gifts4, tr#polls2, tr#polls5, tr#polls6, tr#quiz8, tr#trivia4, tr#photo6, tr#photo10, tr#photo11, tr#photo12, tr#photo13, tr#photo15, tr#photo16, tr#photo17, tr#video4, tr#iframe2, tr#iframe4]

Bin ich etwas fehlt, wie etwa jQuery events arbeiten?

InformationsquelleAutor Casey Flynn | 2011-05-30
Schreibe einen Kommentar