标签的内容可以用url数据吗?比如读取url传送的json文件

提问 已结 1 4824
悬赏:20飞吻
<body>
<div class="topjui-container">
<fieldset>
<legend>默认标签框(手动输入请回车)</legend>
</fieldset>
<div class="topjui-row">
<div class="topjui-col-sm12">
<label class="topjui-form-label">标签框</label>
<div class="topjui-input-block">
<input type="text" name="tagbox2" data-toggle="topjui-tagbox"
data-options="required:true,
hasDownArrow:true,
textField:'text',
valueField:'id',
data:[{
id:1,
text:'香蕉'
},{
id:2,
text:'苹果'
},{
id:3,
text:'梨子',
selected:true
},{
id:4,
text:'草莓'
},{
id:5,
text:'樱桃'
}]">
</div>
</div>
</div>
</div>
</body>
回帖
回帖须知