Autocomplete new feature (jquery.ui-1.6rc2)
Hi there!
I'm newbie here - searching how to suggest a new feature I've already
implemented myself for my project.
As you all know Autocomplete give three ways to post data:
1. Throogh option { data : [...] }
2. Via external url with params
3. Via undocumented { source: function(term) { .. } } feature
But I am not happy with it. I am a Java warrior and I use superb DWR
lib for AJAX requests - so application have no controllers to handle
autocomplete control's request. I need a "external AJAX" feature. So,
I made it.
This is it
<pre>
------------------------------------------------------------------------------------
Index: web/jquery/ui/ui.autocomplete.js
===================================================================
--- web/jquery/ui/ui.autocomplete.js (revision 101)
+++ web/jquery/ui/ui.autocomplete.js Tue Dec 23 23:32:33 MSK 2008
@@ -326,7 +326,7 @@
// if an AJAX url has been supplied, try loading the data now
} else if( (typeof options.url == "string") && (options.url.length