How can I implement a gmail-style label chooser?
问题 What's the easiest way to implement (something like) Gmail's interface for labeling messages? Does any javascript library have a widget like this? http://img294.imageshack.us/img294/7097/36698396.png Behavior: Click a label in the dropdown to immediately label the message. Check multiple labels and then "Apply" to add multiple labels (not sure I like the "Apply" requirement...) Type in the box to narrow down your list of labels. If you narrow it down to 1, pressing enter applies that label.