<SCRIPT>
function submitonce(theform){
if (document.all||document.getElementById){
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true
}
setTimeout('alert("Just between the two of us, this form has been submitted.
Notice how the submit and reset buttons were disabled upon submission")',2000)
}
else
alert("Just between the two of us, this form has been submitted. Since you're
not using IE 4+ or NS 6, the submit button was not disabled on form submission")
return false
}
</SCRIPT>
<!--webbot
bot="HTMLMarkup" endspan --></FONT></P>
<FORM name=test onsubmit="return submitonce(this)" method=post>
<TABLE cellSpacing=5 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><STRONG><SMALL><FONT
face=Verdana>Name:</FONT></SMALL></STRONG></TD>
<TD><INPUT name=T1></TD></TR>
<TR>
<TD vAlign=top align=left><STRONG><SMALL><FONT
face=Verdana>Description: </FONT></SMALL></STRONG></TD>
<TD><TEXTAREA name=S1 rows=6 cols=30></TEXTAREA></TD></TR>
<TR>
<TD>
<DIV align=center></DIV></TD>
<TD align=middle>
<DIV align=left>
<P><INPUT type=submit value=Submit! name=B1> <INPUT type=reset
value=Reset name=B2></P></DIV></TD></TR></TBODY></TABLE></FORM>
dhtml, menu,
Nel nostro sito molte informazioni: "Morpheusweb.it - Risorse per Webmaster" tratta di dhtml, script, tendina, mail, forms click here se non sei reindirizzato automaticamente al
nostro sito.