lo que quiero hacer es cuando el usuario pinche en el submi del formulario se oculte ese boton, como se puede hacer estoy haciendo algo asi, esta bien ?????
[CODE]
<script>
function ocultar()
{
document.fotos.sbutton2.style.display = 'none';
//document.sbutton2.style.display = 'none';
alert("adios");
}
</script>
<body onunLoad="ocultar();" ......
<FORM name="fotos" ....
<input name="sbutton2" onClick="escorder();" type='image' value='Enviar' src='imagenes/insertar_foto.gif' alt='Enviar' width="100" height="20" />