I'm not sure what you mean by "the attr array is empty". At any rate, here are a couple threads that may help:
img src problem in IE6 http://groups.google.com/group/jquery-en/browse_thread/thread/10079cffbb35ede3 Swapping img src in IE shows blank http://groups.google.com/group/jquery-en/browse_thread/thread/f67fe1972c3b022f - Richard On Thu, Feb 21, 2008 at 11:52 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > group, > > i just ran across an issue in IE6, that works in both Safari and > Firefox. > > I am simply trying to change the source of an image using: > > $('img#tab2').attr("src","/b_tab2_on.png"); > > <img id="tab2" src="/b_tab2_off.png" border="0" alt="colors"/> > > I've noticed that in IE, the object is found but the attr array is > empty. Has anyone else run across this before in IE? > > I can't post the page, perhaps an example, but wanted to ping the > group to see if anyone has come across this, seems pretty simple. > > thanks, > -- mike > >