RE: [PHP-ES] BOTON EN PHP
| From: | Gabriel Carbone | Date: | Thu, 16 May 2002 16:42:37 +0000 |
| Subject: | RE: [PHP-ES] BOTON EN PHP | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-22753@lists.php.net to get a copy of this message | ||
>Hola, soy nuevo en la lista
>me gustaria saber como he de montar un boton en php para llamar a una
>funcion en javascript.
>gracias de antemano.
No seria en php sino en javascript o html.
<script>
function aaa()
{
alert("hola")
}
</script>
<form...>
<input type="submit" name="b1" value="click aqui"
onclick="javascript:aaa()">
</form>