I've noticed the same thing and was about to ask about it, so I don't  
think it's an isolated problem.

On May 14, 2008, at 12:59 PM, Steve Finkelstein wrote:

>
> Hey all,
>
> I'm using a very straight forward implementation of Autocompleter.  My
> constructor looks like the following:
>
>       document.observe('dom:loaded', function() {
>               new Ajax.Autocompleter('search_query', 'search_results', 
> 'at.php', {
>                       method: 'get',
>                       paramName: 'typing'
>               });
>       })
>
> Works great, makes a GET request to the server, and I can see my
> responses coming back in Firebug.  I can also inspect the DOM and see
> the result sets there which is a bunch of styled <div> elements.
>
> However, with that said, my 'search_results' div gets display:none;
> appended to it inline via the Autocompleter class.  Once the results
> are in, it never shows the display.
>
> Is there a reason for this?  Why is it not setting it to display:block
> once the results have finished their round trip?
>
> Thanks,
>
> /sf
>
> >


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