On Thu, Sep 25, 2008 at 7:16 PM, ericindc <[EMAIL PROTECTED]> wrote:
> The autocompleter only works when the PHP code prints the string, but
> based on the documentation, I assumed that the PHP code was expected
> to return the string.

I don't really understand why you are differentiating between "prints
the string" vs. "returns the string". The Autocompleter does not care
what you implement your server-side code in, all we're concerned with
here is the body of the response from the Ajax request.

This is a PHP example that would work:

<?php echo '<ul><li>some item</li><li>some other item</li></ul>'; ?>

> The site is again on an intranet.  I can copy the code to pastie.org
> again, but the database connection, etc. won't be available.

All the we'd need to see to better help you is the generated HTML, no
PHP or anything else server-side specific.


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to