title: jQuery addClass only to div with class which is really higher
body: <p>The code below causes that all divs with this class get padding including these divs which are not higher than 200, but I need to add padding ONLY to elements, which are really bigger than 200. The rest have to stay without padding. Does anybody know how I can get it?</p>
  
  <pre class="lang-js prettyprint-override"><code>var n = $('.class');
  var height = n.height();
  if (height &gt; 200) {
     n.addClass('padding');
  }
  </code></pre>