title: jQuery - set button title
body: <p>I want to change the title of a button using <code>jQuery</code></p>
  
  <pre><code>&lt;button id="pub2" class="pub2" title="ok"&gt;Bibtex&lt;/button&gt; 
  &lt;script&gt;Tippy('.pub2', {interactive : true})&lt;/script&gt;
  </code></pre>
  
  <p>Also, I have a small paragraph to test</p>
  
  <pre><code>&lt;p id="testP"&gt;
     text
  &lt;/p&gt;
  </code></pre>
  
  <p>To change the properties, I'm doing the following:</p>
  
  <pre><code>$(document).ready(function(){
     $("#testP").text("test worked");
     $("#pub2").attr("title", "new title not working");
  });
  </code></pre>
  
  <p>Updating the text of the paragraph works just fine, but the title of the button won't change, why?</p>