I have a form using script.aculo.us and the Ajax.Autocompleter.
I am using php fetch the suggestion data from a MySQL database.
All of this works fine.
I would like to then, update remaining fields after focus changes from the autocomplete field. Specifically, users enter a partial serial number, select an autocomplete suggestion and the balance of the form fills with customer name, address, etc...
As I am already using script.aculo.us, I think the Ajax.Updater function would work here; but, need some help implementing it. Does anyone know of a functioning example, tutorial, etc?? -Or, could someone suggest sample code for this purpose? I am just not saavy enough yet in JavaScript or AJAX...
TIA,
-Allen M.
I am using php fetch the suggestion data from a MySQL database.
All of this works fine.
I would like to then, update remaining fields after focus changes from the autocomplete field. Specifically, users enter a partial serial number, select an autocomplete suggestion and the balance of the form fills with customer name, address, etc...
As I am already using script.aculo.us, I think the Ajax.Updater function would work here; but, need some help implementing it. Does anyone know of a functioning example, tutorial, etc?? -Or, could someone suggest sample code for this purpose? I am just not saavy enough yet in JavaScript or AJAX...
TIA,
-Allen M.