I modified interface.php so that no additional URL parameter is
required. The script has a require statement to pull in a DB access
class and the code necessary to query the database and print the
unordered list. I'm still seeing the same behavior.
Hopefully firebug will shed some light once
Walter,
I had given up on this and switched to jQuery's version of
autocompleter, but seeing how I hate jQuery I'm back at it again. I'm
working with my SAs to get Firefox/Firebug installed to take a peak
behind the scenes.
I just noticed that hitting any non-character button also seems to
Unfortunately that doesn't seem to be the issue. I removed the line
of code adding in the strong tab, but am still seeing the failed
autocompleter on first attempt. I typed in Ja and got nothing.
Jam and I get the corresponding results. Back to Ja (by just
hitting backspace) and I get the
What do you see in Firebug? Look at the POST being sent out, and the
reply to that request. Is there a difference between what you see
coming back the first time and the two subsequent replies?
Walter
On Sep 29, 2008, at 9:53 AM, ericindc wrote:
Unfortunately that doesn't seem to be the
I meant that if you were to validate your code, having
autocomplete=false in the form element would cause it to fail.
Scripty magically adds the behavior using JavaScript, which is then
valid code.
Many many things about Prototype (and by extension, Scripty) rely on
your code being
When the Autocompleter says returns, it means returns in the same
way that when you request a page from a Web server, the server
returns that page. It's a HTTP return, not a PHP return.
A function (in PHP or any language) may return a string or other
variable. But that string won't go
Thanks Walter, that cleared things up.
Here is a link to the HTML that contains the new Ajax.Autocompleter
code as well as my input field and response div. The PHP script
prints a string of the following format:
[ul]
[li id=1234][strong]Perk[/strong]ins, Justin[/li]
[li
On Thu, Sep 25, 2008 at 2:36 PM, ericindc [EMAIL PROTECTED] wrote:
First, in the online Ajax.Autocompleter document's Server Return
section, it states that the server must return an unordered list.
So, in my server side PHP code I literally return a string containing
the unordered list.