On Aug 19, 2008, at 11:46 PM, kangax wrote:

>   $W('foo').wrap('div', { className: 'bar' }); // NodeWrapper around a
> newly created `div` element with class="bar"


Sorry to barge in the middle here, but could you clarify what 'foo'  
means here? Is 'foo' the ID of the newly-created div.bar? Or is the  
existing div#foo now wrapped with a div.bar?

Walter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to