javascript - Focus on jquery tokeninput element (Chrome and Opera) -
i have problem tokeninput element in chrome , opera (ff works fine). when 1 or more elements choosen in tokeninput, cannot loose focus, cursor still blinking after lastly element, if click on other elements on page blocked.
the simplified code can find here: http://jsfiddle.net/busiek/439xn9ue/2/
element definition follows:
$(document).ready(function () { $("#filteryachtmodel").tokeninput( [ {id: 7, name: "antares"}, {id: 11, name: "athena"}, {id: 13, name: "atlantic"}, {id: 17, name: "bahia"}, ], { theme: "facebook", showhintaswatermark: true, hinttext: "enter yacht type", noresultstext: "no results", searchingtext: "searching...", preventduplicates: true }); });
i have searched documentation pages , forums , did not found similar problem. maybe jquery version conflict, not know. ideas?
this issue plugin has been fixed.
update latest version (currently 1.6.2) github - version loopj.com lastly major revision - several years old.
javascript jquery html google-chrome jquery-tokeninput
No comments:
Post a Comment