Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/01/2012, 20:08
Avatar de madhatterdef
madhatterdef
 
Fecha de Ingreso: diciembre-2011
Ubicación: argentina
Mensajes: 213
Antigüedad: 12 años, 5 meses
Puntos: 59
Respuesta: obtener valor de td

para que tu script funcione
usa esto en el html

Código:
<table id="destino">
<tr>
<td id="algunid">
1
</td>
<td>
Carlos
</td>
</tr>
<tr>
<td>
2
</td>
<td>
Maria
</td>
</tr>
<tr>
<td>
3
</td>
<td>
German
</td>
</tr>
</table>
y esto en el js

Código:
$(document).ready(function()
    {

    $("#algunid").click(function()
        {
        alert("click!");
        });
    });
PD para el resto explícate mejor que código ajax quieres usar