title: Is changing attributes on a bunch of img tags easier in jQuery than PHP?
body: <p>I was thinking of writing some code in PHP to change all the <code>id</code>s of images to match their <code>alt</code>s. Would this be easier to implement in jQuery?</p>
  
  <p>What i need to do is take this line</p>
  
  <p>img alt="puzzle" src="images/cole.jpg" alt="This is me" style="display:none;" /> </p>
  
  <p>and make it</p>
  
  <p>img id="puzzle" alt="puzzle" src="images/cole.jpg" alt="This is me" style="display:none;" /> </p>