有人知道jquery.tokeninput吗?What combination of (jQuery) events do I use (presumably on the input field) to simulate the effect of entering text and pressing tab, enter or the comma key when the allowFreeTagging
option is true?
我能够模拟字段输入和单击选择,如下所示:
$("#token-input-interests").focus();
$("#token-input-interests").val('#{typed_in_val}');
$("#token-input-interests").keydown();
...
但是在交换关键事件的点击时我没有成功。
谢谢,
里尔