title: BOOTSTRAP trigger tooltip on input element only if input val length < n
body: <p>I would like to show tooltip when <code>input.val().length &lt;= 3</code> then hide tooltip when > 3 chars</p>
  
  <p>Check this out:</p>
  
  <pre><code>&lt;input type="text" id="nav-search"/&gt;
  
  
  $('#nav-search').on('keyup',function(){
     var _keys = $(this).val();
     if(_keys.length &lt;= 3){
     $(this).tooltip({'trigger':'focus',position:'right'});
     $(this).trigger('focusin');
  
     }
    });
  </code></pre>
  
  <p>it doesn't works obviously :/</p>