| ||||
Re: ccastillo puedes poner el codigo q estas utilizando? salu2 :) <embed src="http://www.autocar.com.mx/images/logo.swf" type="application/x-shockwave-flash" width="468" height="60" play="true" wmode="transparent" menu="false" loop="true"> |
| |||
Re: ccastillo no me permite el return <SCRIPT LANGUAGE=vbscript> <!-- function valida(theform) if not isdate(theform.aux.text) then msgbox("Ingrese una fecha Valida") theform.aux.focus() return(false) else return(true) end if end function --> </SCRIPT> <form method="post" action="prue.asp" id="form1" name="form1" onsubmit="return valida(this)" > |
| |||
Re: ccastillo prueba con esto: <SCRIPT LANGUAGE=vbscript> <!-- sub valida() if not isdate(form1.aux.value) then msgbox("Ingrese una fecha Valida") form1.aux.focus() else form1.submit() end if end sub --> </SCRIPT> <form method="post" action="prue.asp" name="form1" > <INPUT type="text" name=aux> <INPUT type="button" value="Enviar" name=enviar onclick="valida()"> </form> notese que le hice algunos cambios a lo que tienes arriba. por lo menos valida la fecha. saludos. |