RE: [PHP] How to code in PHP an onchange event in a <select>?
| From: | Tommy Pham | Date: | Fri, 05 Nov 2010 08:47:42 +0000 |
| Subject: | RE: [PHP] How to code in PHP an onchange event in a <select>? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309331@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Paul Waring [mailto:paul@xk7.net]
> Sent: Friday, November 05, 2010 1:27 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] How to code in PHP an onchange event in a <select>?
>
> On 04/11/10 20:23, Tomás Corrales Lemoine wrote:
> > I have this two files (index.php and include.php). They both work
> > fine, but I want to substitute the code for de onchange event in the
> > <select> tag. Can I use PHP to code this event? How?
>
> xajax will allow you to call PHP code as if it was JavaScript:
>
> http://www.xajax-project.org/
>
> Paul
>
It looks very promising except the demo is a bit slow for just changing ''
to '610'... maybe their server/connection is a bit slow? It takes almost a
full second from button click to display on my 20mb up/down connection.
Regards,
Tommy