How to add two values to the item element
Hello abd thanks for this beautiful plugin.
I have a list that displays languages with their levels, i used
this function
formatList: function(data,elem){
var level = data.level, language = data.value;
var new_elem = elem.html( language+" - " +level);
return new_elem;
}
I want to know how to add the level to the selected item e.g.
English - Beginner instead of just English in the box, how can i
achieve this?
Thanks in advance
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac