【发布时间】:2019-09-27 16:07:11
【问题描述】:
我在我的项目中使用了以下 jquery。
我想从 textarea 的属性中设置 tagEditor() 的 initialTags 参数..
例如:
<textarea id="demo3" data-json=""></textarea>
$('#demo3').tagEditor({
initialTags: $(this).attr("data-json"),
placeholder: 'Enter tags ...'
});
但是在这里它不起作用..谁能帮我解决这个问题???
【问题讨论】:
标签: javascript jquery jquery-ui jquery-tageditor