Ver Mensaje Individual
  #38 (permalink)  
Antiguo 10/11/2008, 17:13
Avatar de hoberwilly
hoberwilly
 
Fecha de Ingreso: julio-2008
Ubicación: Lima - Perú
Mensajes: 769
Antigüedad: 16 años, 7 meses
Puntos: 2
Respuesta: Envio de mensaje js al no haber stock disponible

Segun lo sugerido, tengo esto:

<form name="a<?php echo $v['identificador'] ?>" method="post" action="agregacarrito2.php?<?php echo SID ?>" id="a<?php echo $v['identificador'] ?>" onsubmit="//como implementar el onsubmit????">
<td align="center"><input type="text" name="cantidad_autorizada" id="cantidad" value=" " size="4" maxlength='6'></td>
<td align="right"><input type="button" name="stock_disponible" value=<?php echo $row2['stock']; ?>></td>
<td><input type="submit" value="Autorizar"></td>
</form>

Agradesco de antemano su ayuda...