jQuery Tag-It - using a value and label object list

前端 未结 7 1843
感动是毒
感动是毒 2021-02-02 16:58

Just tried the excellent Tag-It! plug-in for jquery (http://aehlke.github.com/tag-it/), but I can\'t get it to work how I would like.

I have an object list like this:

7条回答
  •  盖世英雄少女心
    2021-02-02 17:37

    Hi I just done it for my project with PHP.

    I modified plugins at some point so use script from jsfiddle script section.

    Look here i have made full working key value pair script https://jsfiddle.net/656pnLsd/

    • test2

    UPDATED WITH FOCUS (INSPIRED BY @Edwin and Marco Johannesen)

提交回复
热议问题