title: Jquery add class in a variable containig html string
body: <p>I have this variable and i want to add a class to it.
  I tryed this method, but this defenetly is not working</p>
  
  <pre><code>var someVar = '&lt;i class="firstClass"&gt;&lt;/i&gt;';// Html Markup to be used later.
      someVar.addClass('secondClass'); 
  </code></pre>
  
  <p>I need a different method to adding a new class to the html markup.</p>
  
  <p>Thanks</p>