title: how to change title attribute with html content using jquery?
body: <p>I have this code for title attribute for tooltip.</p>
  
  <pre><code>title=" &lt;div id=\'tooltip-row\'&gt;
             &lt;div class=\'tooltip-label\'&gt;ID : &lt;/div&gt; &lt;div class=\'tooltip-value\'&gt; '.$id.' &lt;/div&gt;
          &lt;/div&gt;
  
         &lt;div id=\'tooltip-row\'&gt;
             &lt;div class=\'tooltip-label\'&gt;X  : &lt;/div&gt; &lt;div class=\'tooltip-value\'&gt; '.$x.' &lt;/div&gt;
         &lt;/div&gt;
                "
  </code></pre>
  
  <p>in php. and I want to replace the value of the ID inside the title attribute.
  any idea? thanks!</p>