| ||||
Re: Ayuuuuuda!. Evitar doble click en submit mmmm... talvez te sirve esto: <a href='ir.asp?http://javascript.internet.com/forms/disable-submit.html' target='_blank'>http://javascript.internet.com/forms/dis...</a> suerte! ![]() <img src="http://www.iespana.es/simpleguy/images/signature.jpg" border=0> |
| ||||
Re: Ayuuuuuda!. Evitar doble click en submit Mira lo puedes arreglar de 2 formar la primera es esta con ASP:
Código:
y la otra es mediante JSCript, asi como aqui en los foros, el código es este:<% If (Not TURecorsert.EOF) then ...Tus instrucciones End If %>
Código:
<SCRIPT LANGUAGE="JavaScript"> <!-- function disableForm(theform) { if (document.all || document.getElementById) { for (i = 0; i < theform.length; i++) { var tempobj = theform.elements; if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset") tempobj.disabled = true; } return true; }} // --> </script> y luego en el form aplicas esto:
Código:
espero que te sirvaonSubmit="return disableForm(this);" saludos y suerte <img src="http://www.velazquez.com.mx/masteraspx/firma.jpg" width="465" height="79" border="0" usemap="#URL"> <map name="URL"> <area shape="rect" coords="270,48,347,61" href="http://www.masteraspx.tk" target="_blank"> </map> |