Re: Calling a PHP function since javascript:onclick function..
| From: | Jayme Jeffman Filho | Date: | Fri, 22 Sep 2000 02:17:51 +0000 |
| Subject: | Re: Calling a PHP function since javascript:onclick function.. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3049@lists.php.net to get a copy of this message | ||
Or just put your script as the "ACTION" proporty of the form and change the
type from "button" to submit !!!
Actualy JavaScript is not needed to make this.
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: Boget, Chris <Chris.Boget@wild.net>
Para: 'Javier Morquecho Morquecho' <jmorquec@cedetel.com.mx>;
<php-db@lists.php.net>
Enviada em: quinta-feira, 21 de setembro de 2000 16:37
Assunto: RE: [PHP-DB] Calling a PHP function since javascript:onclick
function..
> > How can I call a PHP function since a javascript:onclick function
> ??..
> > can I do something like ?:
>
> Why don't you just do
>
> onclick="document.formname.submit();"
>
> and have the form action be $PHP_SELF...
>
> Chris
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>