[英]Dropdown not refreshing when i used sumoselect.js plugin
I use sumoselect.js plugin and I am trying to get the drop down options dynamically from DB through AJAX. 我使用sumoselect.js插件,并且尝试通过AJAX从DB动态获取下拉选项。 But options are not rebuilding.
但是,选择权并未重建。
I spent couple of hours. 我花了几个小时。 Please help me any one on this issue.
请帮助我解决这个问题。
.add() function will work for me and before in for-loop we need to delete previous drop-down values then use .add() function. .add()函数将对我有用,在for循环之前,我们需要删除以前的下拉值,然后使用.add()函数。 I tried its working.
我尝试了它的工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.