Comment obtenir une référence à l'élément correspondant? 'ceci' n'est pas correct.jQuery: comment associer un objet correspondant
Par exemple, ici, j'essaie d'alerter avec la valeur des éléments.
//how do i get this to reference the object it matches.
$("#txtFirstName,#txtLastName,#txtDOB").each(
function() { alert(this.val()); }
);