Solved

Tag input html

Posted on 2016-10-27
4
38 Views
Last Modified: 2016-10-28
How to make a input like this? Would you mind if give me a suggestion?
Demo
0
Comment
Question by:The Mix
  • 2
  • 2
4 Comments
 
LVL 32

Expert Comment

by:ste5an
ID: 41863621
It's not a traditional input element.

Something like a pretty advanced autocomplete (jQuery UI).
1
 

Author Comment

by:The Mix
ID: 41863768
@ste5an thanks for your help. But i don't understand your answer. Can you please explain more, please?
0
 
LVL 32

Accepted Solution

by:
ste5an earned 500 total points
ID: 41863776
Well, the input element is used to add the data at the and of a string stored in a JS object. it displays a drop down with possible selections. After you have entered some text or selected one suggested term JS takes this and adds it to its internal string. Then the input is cleared and the div or span before the input is refreshed to display the actual value.
1
 

Author Comment

by:The Mix
ID: 41863787
Thank you, sir! I'll try it.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now