I\'m using the Raphaël Javascript lib (awesome stuff for SVG rendering, by the way) and am currently trying to update the source of an image as the mouse goes over it.
This works for me (and across all browsers):
targetImg.attr({src: "http://newlocation/image.png"})