![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/06/2008, 16:16
|
| | Fecha de Ingreso: septiembre-2004
Mensajes: 252
Antigüedad: 20 años, 4 meses Puntos: 0 | |
Respuesta: Desactivar y Cambiar Texto BOTON
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>sin título</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 0.14" />
<script type="text/javascript">
/*<![CDATA[*/
function func1(esto)
{
esto.value="Ya diste click";
esto.disabled=true;
}
/*]]>*/
</script>
</head>
<body>
<input type="button" name="boton" id="boton" value="click aqui" onclick="func1(this)">
</body>
</html>
|