title: jQuery syntax not setting object property
body: <p>My jQuery question I beleive is pretty simple, which is driving me insane that I can't get it.</p>
  
  <p>I have an object with a property "content", I want to be able to take that object, manipulate the property "content" with jQuery and then overwrite the value with the new value jQuery creates.</p>
  
  <p>Example:</p>
  
  <pre><code>o.content = "&lt;div&gt;&lt;span&gt;hello&lt;/span&gt;&lt;/div&gt;";
  $('div', o.content).addClass('test');
  </code></pre>
  
  <p>At this point I want o.content to be equal to <code>&lt;div class='test'&gt;&lt;span&gt;hello&lt;/span&gt;&lt;/div&gt;</code></p>
  
  <p>I can not for the life of me figure out the syntax. Any help is really appreciated.</p>