Re: Notification of listbox selection change
| From: | Tim Streater | Date: | Mon, 09 Dec 2013 21:45:00 +0000 |
| Subject: | Re: Notification of listbox selection change | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-322559@lists.php.net to get a copy of this message | ||
On 09 Dec 2013 at 21:07, Larry Martell <larry.martell@gmail.com> wrote:
> What they want is a frame to the right of the table with a listbox
> with all the choices (I have that coded.) When they select item(s)
> from the listbox row(s) would get added to the table and when they
> deselect items rows would be removed. They don't want to wait for the
> next refresh nor have to click on a submit button.
You have to detect their actions on the javascript side, make an ajax request to the server, and
have a PHP script respond with some data which you use to update the table.
--
Cheers -- Tim