$("<image/>").attr({src:imagesrc,alt:"joe"}) .mouseover(function(){this.src=imagel+imageid;}) .mouseout(function(){this.src=images+imageid;}) .appendTo($("#bc"+bookrecno));
$("<image src=\""+imagesrc+"\"/>") .mouseover(function(){this.src=imagel+imageid;}) .mouseout(function(){this.src=images+imageid;}) .appendTo($("#bc"+bookrecno)); $("<input type='image'/>").attr({src:imagesrc,alt:"joe"}) .mouseover(function(){this.src=imagel+imageid;}) .mouseout(function(){this.src=images+imageid;}) .appendTo($("#bc"+bookrecno)); IE is the only bugger.