Ver Mensaje Individual
  #6 (permalink)  
Antiguo 06/01/2010, 08:19
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 7 meses
Puntos: 334
Respuesta: Comparar valores y validad...!

onkeyup="if(this.value > $idvi)alert('numero superior a stock');this.value=0"

o si quieres que no salga mensaje

onkeydown="if(this.value > $idvi)this.value = 0"
__________________
More about me...
~ @rhyudek1
~ Github