jquery auto complete for dynamically generated textboxes

后端 未结 5 2104
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 11:45

i am new to jquery, i am working on a web page which needs generating text boxes dynamically with autocomplete facility.

i tested $(\"#some\")

5条回答
  •  眼角桃花
    2020-12-05 12:18

    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.

    Check jquery live

提交回复
热议问题