If you don't need the div in there, you could do $("a").addClass( "someclass" );
Rey... >>>Forgive me my stupid question... but is there an easy way to turn this: >>> >>><a href="#">some text</a> >>> >>>into this: >>> >>><a href="#"><div class='someclass'>some text</div></a> >>> >>>It's some kind of wrap... but from the inside :-) >>> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/