国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

javascript - Select multiple information to fill in a text box
為情所困
為情所困 2017-05-16 13:00:59
0
2
499

< /p>

For example, if you want to search for multiple values ??from the database in a text box and select multiple pieces of information, what is the principle?

為情所困
為情所困

reply all(2)
phpcn_u1582
<p>
    <span>Books<i></i></span>
    <span>camera<i></i></span>
    <input>
</p>

The basic structure is as shown above. span is your tag, i can put your closing. Then there is input. Input can be bound to an event, such as getting the value of the input when entering, and then dynamically creating a span and adding it to the front. Then there is the issue of style. This is not difficult, you can write it yourself or borrow one

習(xí)慣沉默

This kind of component can no longer be called a text box, it is generally called Multi(Tag)Selector;
Here is a specific example: http://www.telerik.com/kendo-...;
The principle is to put the text inside the box The label component is bound to the data item and can be freely [added] and [removed].

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template