2010-01-20 3 views

Répondre

0

Essayez ceci:

$("#myTable tbody tr td").click(function(){ 
    var clickedCell = $(this); 
    alert(clickedCell.text()); 
}); 
+0

Cela fonctionne. Merci Jon. – Rita

1

Vouliez-vous dire $ ("# myTable tbody tr td ") .eq (i) .click (function() {? Et $ (" # myTable td ") est suffisant, je pense

+0

Cela fonctionne aussi .... Merci Reine3 – Rita

Questions connexes