[jQuery] Extending jEditable to use Interface's Autocomplete
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
discuss@jquery.com
http://jquery.com/discuss/