[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-10-14 Thread ericindc
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-10-08 Thread ericindc
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-29 Thread ericindc
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-29 Thread Walter Lee Davis
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-29 Thread Walter Lee Davis
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-26 Thread Walter Lee Davis
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-26 Thread ericindc
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

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-25 Thread Justin Perkins
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.