Thanks for pointing out the omission. I'll use this solution as it's more compact.
Jonny On Mar 5, 6:49 am, Klaus Hartl <klaus.ha...@googlemail.com> wrote: > > $('a').attr('title' , function() { $(this).text() } ); > > > I must be missing something simple here. > > Yes, a return statement. > > $('a').attr('title' , function() { return $(this).text(); }); > > --Klaus