Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
タイトルで説明したように、入力フィールドをクリックしたときにqtipツールチップを表示する必要があり、入力された文字が2文字を超える場合はqtipを非表示にします
入力の長さに基づいてqTipを表示/非表示にするには、これを使用します:
$('#textbox').qtip(); $("#textbox") .bind("focus keyup change", function () { $(this).qtip('toggle', ($(this).val().length <= 2)); });