Return to Snippet

Revision: 28476
at July 8, 2010 17:30 by omerta83


Initial Code
/* here we locate any paragraph elements and then 
'unwrap' the parent elements around them. These 
could be other divs, spans or anything really */  
  
jQuery('p').unwrap();

Initial URL


Initial Description


Initial Title
How to remove the parent elements of any object

Initial Tags
javascript, jquery

Initial Language
JavaScript