[jQuery] using each item's id for wrap()

[jQuery] using each item's id for wrap()

i'm currently playing around with jquery for the first serious
project but my initial explorations are already causing me some
headaches...
i'm trying to put a wrapper div around each div that matches my $..
for which i want to use the actual id of the div i'm wrapping. example:
a div with id="example" should get a wrapper div with id="example-
wrapper".
the lousy code i've written so far is something like this... not
much, really.
$(document).ready(function(){
    scrollers = $('div.scroller');
    //this does what i need but doesn't have access to the item's id
    scrollers.wrap('<div style="border: 1px #ff00ff solid;"></div>');
    //this doesnt really do anything right now    
    scrollers.each(function(i) {
        scroller = scrollers.get(0);
        alert(scroller.innerHTML);
    });
});
any ideas?
_    robb irrgang
__    robb@eargang.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/