I\'m using the JQuery Autocomplete in one of my forms.
The basic form selects products from my database. This works great, but I\'d like to further develop so that o
This work for me. Override the event search:
search
jQuery('#Distribuidor_provincia_nombre').autocomplete({ 'minLength':0, 'search':function(event,ui){ var newUrl="/conf/general/provincias?pais="+$("#Distribuidor_pais_id").val(); $(this).autocomplete("option","source",newUrl) }, 'source':[] });