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 on http://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 [email protected]
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