Hello,
i've tried this :

new Ajax.Autocompleter("nom", "autocomplete_choices", "getLogin.php", {
minChars: 2,  indicator: 'indicator1', updateElement : getLogin});
-----
<script >
function getLogin(valeur){
    $("debug").innerHTML=valeur;
}
</script>


The list is well populating but when I select an item, to run the
getLogin function here is what i get in my debug div :  [object]

What am i doing wrong ?
Thanx for your help


--~--~---------~--~----~------------~-------~--~----~
 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