title: Override existing style declaration with jQuery
body: <p>I have the following HTML code:</p>
  
  <pre><code>&lt;style&gt;
    .thing { color: red }
  &lt;/style&gt;
  
  &lt;p class="thing"&gt;This is a nice thing&lt;/p&gt;
  </code></pre>
  
  <p>I would like to change the ".thing"-style for all current content and all future content which comes to the page via AJAX.</p>
  
  <pre><code>$('.thing').css('color', 'blue');
  </code></pre>
  
  <p>This would work, but if new HTML code is added to the document via AJAX, all ".thing"-elements will still be colored red.</p>
  
  <p>What I want is to change the whole style property ".thing" for the document and not only for the current elements (with a jQuery selector).</p>
  
  <p>Thanks!</p>