I finally got the autocomplete to open the list, but it does not work
in FF, only works with a php file as the url (not the exact same data
in .xml),  the list does not scale down at all when you add more
letters, and it will also show the entire list no matter what is in
the text field.

this is my code:

<input autocomplete="off" id="contact_name" name="contact[name]"
size="30" type="text" value="" />
<div class="auto_complete" id="contact_name_auto_complete"></
div><script type="text/javascript">new
Ajax.Autocompleter('contact_name', 'contact_name_auto_complete',
'xml3.php', {minChars: 2})</script>

www.parkereye.com/eye

Why does it only work if my url is file.php which is a file that
creates an XML from my DB? - it will not work if I create the XML by
hand and use 'xml.xml' as the url.  Why?


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