jQuery autocomplete with many inputs - django-dynamic-formset
问题 I'm using jQuery autocomplete feature (http://jqueryui.com/autocomplete) and Django dynamic-formset (http://code.google.com/p/django-dynamic-formset/). One of my formset fields needs to use autocomplete, so I attach it using (simplified): $('input[name$=select]').autocomplete({source:'my_url/', minLength: 3}); I call this on document ready and it works fine (gets data from ajax). However, if I add new row with django-dynamic-formset and handle its 'added' event with: function(row){ $(row)