title: appending text to each alt tag jquery
body: <p>I am attempting to create a function using jQuery that appends a copyright message to the end of all alt tags. So <code>&lt;img src="image.jpg" alt="this is alt text"&gt;</code> would end up <code>&lt;img src="image.jpg" alt="this is alt text - Copyright (c) John Doe"&gt;</code>.</p>
  
  <p>This is the function I created but it's not working:</p>
  
  <pre><code>$(document).ready(function() {
      $("img").each(function() {
          $img.attr("alt").append(" - Copyright (c) John Doe");
      });
  });
  </code></pre>
  
  <p>Can anyone see what's wrong?</p>