jQuery Listbox Database Update Script
This demo will post to the update PHP script and return the response. The table is to show you what it looks like and how it works.
Insert the jQuery function before and outside of the record retrieval loop. You must of course have jQuery loaded. We have included the
.change function for two listboxes in this example.
Click in textarea to select code then copy and paste Ctrl-CCtrl-V
Construct your record retrieval code something like this.
updatedatabase.php something like this for each listbox you have. The returncode includes the message that gets sent back to the page.