| Are you okay now, or do you need the example?
Deco On Jun 21, 2006, at 2:42 PM, Dallas Cahker wrote: Thanks I have prototype/scriptaculous lib so I didnt want to have to do more work if prototype/scriptaculous lib had the basics of a call.
On 6/21/06, Gregory Hill <[EMAIL PROTECTED]> wrote: Anything can be done with prototype/scriptaculous, but it may involve programming some of your own stuff on top of it. However, in this case, are you just asking whether prototype has ajax functionality? If so, then yes, it does.
Look in the documentation for Ajax.Request http://www.sergiopereira.com/articles/prototype.js.html#UsingAjaxRequest (that doc is for version 1.4, but Ajax.Request hasn't changed since then, AFAIK).
Greg
Can this be done through prototype or scriptaculous, or would i have to get another ajax js libraray and add that? On 6/21/06, Deco Rior < [EMAIL PROTECTED]> wrote: Yes, The easiest way is to execute another function onUpdate that populates the data, by executing another AJAX call That is, Do the autocomplete, and on update execute an ajax call to find the address data and populate the appropriate form fields. Deco On Jun 21, 2006, at 12:54 PM, Dallas Cahker wrote: > Hello everybody. > > I'm wondering if there is away with scriptaculous to update > multiple form fields with data after finishing an autocomplete > request. > Heres an example. > > Joe BlowSchmoe fills in his name and starts to type in the customer > number, he selects the approprate customer number from autocomplete > list, and bam the address associated with the customer number is > populated into the approrate fields. > > Thanks > _______________________________________________ > Rails-spinoffs mailing list > [email protected] > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list |
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs