By Vitor Freitas July 08, 2016
How to use jQuery function wrap
It is a jQuery function to wrap an HTML structure around each element in the set of matched elements.
I am not really sure how I came across this jQuery function. I’ve used jQuery for over 6 years now, and never really needed it. But, anyway, here is how you do it: