Re: Notification of listbox selection change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2013-12-09 at 15:40 -0500, Larry Martell wrote:
> Is there any way in php to have a function be called when the value of
> a listbox selection changes?
> 

PHP is executed on the server, that select list is on the client side.
To detect a change of the select list, you would have to use Javascript.

If there's something that absolutely has to be executed on the
server-side from this change (like an email, or database update) then
you could make an Ajax request to a PHP script. However, you've not said
what it is you want to do, only how to do what you think you should,
which are not the same things. If you explain in more detail what you're
trying to achieve, then we could offer better help.

-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux