title: jQuery, image changing on hover
body: <p>Okay, so I have dynamically generated images via PHP, so not necessarily the same images result. And I've spent the last four hours scanning the internet and trying countless things with jQuery and/or CSS, and I've come up with the following that works.</p>
  
  <pre><code>    &lt;a href="build.php?x=1875&amp;y=2020"&gt;&lt;img style='background:url(images/tile_4.jpg)' src='images/tile_4.jpg' onmouseover="this.src='images/Market.png'" onmouseout="this.src='images/tile_4.jpg'" /&gt;&lt;/a&gt;
  &lt;a href="build.php?x=1876&amp;y=2020"&gt;&lt;img style='background:url(images/tile_4.jpg)' src='images/tile_4.jpg' onmouseover="this.src='images/Market.png'" onmouseout="this.src='images/tile_4.jpg'" /&gt;&lt;/a&gt;
  &lt;a href="build.php?x=1877&amp;y=2020"&gt;&lt;img style='background:url(images/tile_4.jpg)' src='images/tile_4.jpg' onmouseover="this.src='images/Market.png'" onmouseout="this.src='images/tile_4.jpg'" /&gt;&lt;/a&gt;
  &lt;a href="build.php?x=1878&amp;y=2020"&gt;&lt;img style='background:url(images/tile_4.jpg)' src='images/tile_4.jpg' onmouseover="this.src='images/Market.png'" onmouseout="this.src='images/tile_4.jpg'" /&gt;&lt;/a&gt;
  &lt;a href="build.php?x=1879&amp;y=2020"&gt;&lt;img style='background:url(images/tile_4.jpg)' src='images/tile_4.jpg' onmouseover="this.src='images/Market.png'" onmouseout="this.src='images/tile_4.jpg'" /&gt;&lt;/a&gt;
  </code></pre>
  
  <p>
      
      
      
      
      </p>
  
  <p>Market.png has a transparent background.</p>
  
  <p>Now, the above works. On mouseover, it displays Market.png with the transparent background part being tile_4.jpg and out mouseout it is tile_4.jpg.</p>
  
  <p>What I want to know: is there ANY way to accomplish the exact same thing as the above with jQuery or CSS? I haven't figured it out, and I've spent hours trying, but I'd rather do something else if at all possible since the above (with massive repetition, the above format is repeated currently around 100 times, but I have plans to expand it to over a 1000 times) will become a bandwidth hog.</p>