Well, the problem was so obvious i can't believe i didn't see it before...
(its amazing what a good night sleep can do)

If anyone wants to know (to avoid future problems), i just forgot to set the
'name' settings for jEditable which lead to that the the new input field
didn't have the correct name attribute which lead to that that autocompleter
did not have a correct field name to send to the Suggest backend page.

Ken.

On 2/4/07, Ken Saggy <[EMAIL PROTECTED]> wrote:

Hi everyone,
Although I know the there is already a pluging the extends jEditable to
use a Autocomplete plugin, i want to use the Interface Autocompleter plugin
instead.

I tried extending it the same way the other plugin does it and it does
seem to work (I see the XHR executed in Firebug) but the autocomplete itself
doesn't seem to show.
No errors from firebug. Could anyone have idea as to why this is
happening?

This is what i changed it jEditable

1) Changed the plugin parameters to accept another hash for the
autocomplete settings

jQuery.fn.editable = function(url, options, autoComplete) {


2) After the form is being appended i added the following lines:

if(autoComplete){
            if(autoComplete.source != null ) {
                jQuery(i).Autocomplete(autoComplete);
            }
        }


Thats it. Am I missing something?

Sometimes (but very rarely) I see in firebug that the autocomplete query
has failed (if you think it has anything to do with my problem)

Any help is greatly appreciated,

Ken


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to