I\'ve read almost every article i could find on how to accomplish this, but i\'m still failing miserably. mostly because i\'m an amateur at jQuery/Javascript.
I have
You must bind autocomplete after adding new elements
$(wrapper).find('input[type=text]:last').autocomplete({ source: availableAttributes });
See example: http://jsfiddle.net/r08m8vvy/4/