Good evening,

I tried to find a possibility to use "Element.wrap" to wrap a "<div>"-
Tag around more than just a single element?

E.g. I have this ...:
<span id="one">One</span>
<span id="two">Two</span>

... and want to have this:
<div>
<span id="one">One</span>
<span id="two">Two</span>
</div>

As far as I can see, "Element.wrap" wraps only around ONE element. Any
ideas for a solution?

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to