简体   繁体   中英

HTML CSS Jquery ,Muliple Valued text Input as tags of a Product

我有一个产品,想为产品分配标签,所以我不知道如何在一个输入中获取多个值文本,我需要与 Stack over flow 中的相同,在询问问题标签选项期间

One tag have different value in html5. you will do define random data value. Example:

  <div name="product1" data_value1="product property1"  data_value2="product property2"></div>

https://jqueryui.com/autocomplete/#multiple check this.You can add multiple tags with this. Hope helps :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM