no muestra valor input

(1/1)

kakashi20:
hola tengo esta tabla

Código
<table id="TableFactura" border='1' align="center" width='90%'>
 
                       <tr>
                           <td width='12%'>Item:</td>
                           <td width='12%'>Referencia:</td>
                           <td width='12%'>Precio:</td>
                           <td width='12%'>Impuesto:</td>
                           <td width='12%'>Descripci&oacute;n:</td>
                           <td width='12%'>Cantidad:</td>
                           <td width='12%'>Total:</td>
                           <td width="12%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
 
                       </tr>
                       <tr class="item">
                           <td><input type='text' name='item[]' id='item' size='20' /></td>
                           <td><input type='text' name='ref[]' id='ref' size='20' /></td>
                           <td><input type='text' name='precio[]' onkeydown="calcular()" id='precio' size='10' /></td>
                           <td><input type='text' name='impuesto[]' id='impuesto' size='20' /></td>
                           <td><textarea name='desc[]' id='desc'></textarea></td>
                           <td><input type='text' name='cant[]' id='cant' size='10' /></td>
                           <td align="center"><div id="total"></div></td>
                           <td></td>
                       </tr>
 
 
 
 
 
 
                   </table>
 


y tengo este script en jquery

Código
 
function calcular(){
 
$('#TableFactura tr.item').each(function() {
   //var customerId = $(this).find("td:eq(3) > input").val() * $(this).find("td:eq(6) > input").val();
alert($(this).find("td:eq(3) > input").val());  
});
 
 
}
 
 


el problema es que no me esta monstrando el valor que le paso al input precio...

si alguien me pudiese ayudar se lo agradeceria

kakashi20:
resuelto...!!!

Navegación

[0] Índice de Mensajes