title: jquery tooltipster work only on second hover
body: <p>i found problem like mine here, but no one topic help me, so i decide to write my own.</p>
  
  <p><strong>Problem</strong> :  i need to 'mouseover' twice to see tip. And i know this is because i call tooltip on second mouseover, but i have no idea, how to solve my problem. 
  I will be very thankful for any suggestion or help!</p>
  
  <p>jquery : </p>
  
  <pre><code>$(document).ready(function() {
  
      $('.playerTip').mouseover(function(){
          var playerID = $(this).attr('rel');
          $(this).tooltipster({
              contentAsHTML: true,
              content: 'Loading...',
              functionBefore: function(origin, continueTooltip){
                  continueTooltip();
                  if(origin.data('ajax') !=='cached'){
                      $.ajax({
                          type: 'POST',
                          url: 'http://localhost/Statystyki/index.php/home/tooltip',
                          data: "player="+ playerID,
                          success: function(data) {
                              origin.tooltipster('content', data).data('ajax', 'cached');
  
                          }
                      });
                  }
              }
  
          });
      });
  });
  </code></pre>
  
  <p>and html:</p>
  
  <pre><code>&lt;a href="#" class="playerTip" rel="426"&gt;XYZ&lt;/a&gt;
  &lt;a href="#" class="playerTip" rel="174"&gt;DFV&lt;/a&gt;
  &lt;a href="#" class="playerTip" rel="184"&gt;DRT&lt;/a&gt;
  </code></pre>
  
  <p>etc</p>
  
  <p>@solved
  well i solve my problem ;)</p>
  
  <p>if anybody need solution:</p>
  
  <pre><code>$(document).ready(function() {
  
          var playerID
  
      $('.playerTip').mouseover(function(){
  
          playerID = $(this).attr('rel');
  
          });
  
      $('.playerTip').tooltipster({
          contentAsHTML: true,
          content: 'Ładuje...',
          functionBefore: function(origin, continueTooltip){
              continueTooltip();
              if(origin.data('ajax') !=='cached'){
                  $.ajax({
                      type: 'POST',
                      url: 'http://localhost/Statystyki/index.php/home/tooltip',
                      data: "player="+ playerID,
                      success: function(data) {
                          origin.tooltipster('content', data).data('ajax', 'cached');
  
                      }
                  });
              }
          }
          });
  });
  </code></pre>