
16/04/2005, 12:09
|
 | Moderadora | | Fecha de Ingreso: agosto-2001 Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 6 meses Puntos: 381 | |
Hola gdb7,
prueba así
Código:
function aumentar(p){
eval("document.f.canti" + p + ".value = (document.f.canti" + p + ".value * 1) + 1");
eval("document.f.precio_cant"+ p + ".value = document.f.precio" + p + ".value * document.f.canti" + p + ".value") ;
}
|