title: jquery: get elements by class name and add css to each of them
body: <p>I have a certain number of div boxes that all have the same class name. I am trying to apply something to them all but have no luck. The code I constructed so far is</p>
  
  <pre><code>$(document).ready(function(){
      elements = $('div.easy_editor');
      elements.each(function() { $(this).css("border","9px solid red"); });
      //elements[0].css("border","9px solid red");
  });
  </code></pre>
  
  <p>Could you please tell me what I am doing wrong</p>