Hi,

I've never used the Autocompleter, but just looking at your params to
it made me think you were explicitly disabling the update.  And indeed
you are, details here:
http://github.com/madrobby/scriptaculous/wikis/ajax-autocompleter

"updateElement: ...This function is called INSTEAD OF the built-in
function that adds the list item text to the input field..."  (my
emphasis)

Hope this helps,
--
T.J. Crowder
tj / crowder software / com

On Jun 7, 7:49 am, pawel <[EMAIL PROTECTED]> wrote:
> I use a external js-file for the autocompleter, because i like a small
> markup.
> The autocompleter works well, but if i select a suggest, it will not
> updated in the input-field.
>
> Look what i mean onhttp://www.eltern-fragen.de
> Here the code of the external script:
>
> document.observe('dom:loaded', function() {
>   new Ajax.Autocompleter('suche', 'AutocompleteChoices', 'search.php',
> {
>     method: 'post',
>     minChars: 3,
>     updateElement: function(item) { /* no update */ }
>   });
>
> });
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to