>From a different forum I got this which works: $(this).find('img').attr('src');
On Jun 16, 11:18 am, Logictrap <dlyck...@gmail.com> wrote: > I'm using the jqery cycle plugin with an onAfter & OnBefore function. > > These functions process the current div as 'this' - what I sent was > the code in my div that is getting passed as 'this'. > > I can see that using children is the way to get the attribute I want, > but I don't quite understand how to use it or how to extend the > example to get what I need. > > Another example might help or if you know a link that explains it more > detail that would be great also. > > Thanks