javascript - How can I add a multiple-item autocompletion functionality for a textbox? -
i want have textbox, , if write thing in it, provide me hints. write lond
in "cities" text field, display london
, if click on it, small box small cross having london
should added text field. can repeat add more items.
it's same functionality in stack overflow tag edit control: if write tag name, automatically searches , when click, added.
i suppose it's jquery component - one?
or, use plugin: http://loopj.com/jquery-tokeninput/
here have demo: http://loopj.com/jquery-tokeninput/demo.html
hope helps. cheers
Comments
Post a Comment