estoy teniendo un problema con el evento 'change'... solo me lo toma en el primer textbox.
Código PHP:
   $resultado = mysql_query( "SELECT * FROM donation_items WHERE tipo='2'" );
 
$i = 0;
 
while( $row = mysql_fetch_assoc( $resultado ) )
{
    echo $row[ 'nombre' ] . " - <font color='green'>$" . $row[ 'precio' ] . "</font> - Cantidad: <input type='text' id='text_donacion' alt='" . $i . "' title='" . $row[ 'precio' ] . "' name='" . $row[ 'id' ] . "' style='width: 35px;' value='0' /><br /><br />";
    $i++;
} 
    Código PHP:
   <script type="text/javascript">
    $(document).ready(function()
    {
        $("#text_donacion").change(function()
        {
            alert('test');
        });
    });
</script> 
    
 



