Yes you're both correct. I wrote things out too quickly.
Karl Rudd On 4/10/07, David Duymelinck <[EMAIL PROTECTED]> wrote:
David Duymelinck schreef: > > Klaus Hartl schreef: >> No, that will throw an error, because at this point: $("#k >> img").get(i) you already have a reference to the DOM element itself. >> Thus the following will work: >> >> $("#k img").get(i).src >> >> or stick to jQuery: >> >> $("#k img").attr('src') >> > it's it $("#k img").eq(i).attr('src'). > Too much chocolate affects my english :) another way to get an attribute is : $("#k img")[i].src -- David Duymelinck ________________ [EMAIL PROTECTED]