title: Adding a class to img tags using JavaScript
body: <p>I am a learning javascript guy and I am trying to add the Image Hover Shadow Effect With CSS to my images and for that to work , I have to add an class to all my img tags , which is not possible manually so i am trying to write a javascript that does that and uses jquery , to do so .</p>
  
  <p>it needs to add an class to img tag , such as this </p>
  
  <p>From this </p>
  
  <pre><code>&lt;img border="0"  height="75" src="http://3.bp.blogspot.com/-qhxaAUAJUVQ/TeocW4AuIiI/AAAAAAAABCo/IYy7hQ6-5VQ/s200/CSSEditLogo1.jpg" width="75"/&gt; 
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;img border="0" class="imagedropshadow" height="75" src="http://3.bp.blogspot.com/-qhxaAUAJUVQ/TeocW4AuIiI/AAAAAAAABCo/IYy7hQ6-5VQ/s200/CSSEditLogo1.jpg" width="75"/&gt;
  </code></pre>
  
  <p>Can anyone help :) </p>
  
  <p>Thanks</p>