i am new to jquery, i am working on a web page which needs generating text boxes dynamically with autocomplete facility.
i tested $(\"#some\")
$(\"#some\")
You're adding a new input when you click #button_newproduct but you're only adding the autocomplete once in the function, outside the click.
#button_newproduct
Check jquery live