i use the three way to create a image element,it works on all browsers
except IE,
IE just not show the image element.
thank you.

On 12月16日, 上午2时25分, brian <[email protected]> wrote:
> On Mon, Dec 15, 2008 at 10:41 AM, joe <[email protected]> wrote:
>
> > $("<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.
>
> You might be more likely to get a response if you were to mention what
> the problem is.

Reply via email to