I would like to remove the parent without removing the child - is this possible?
HTML structure:
Could use this API: http://api.jquery.com/unwrap/
Demo http://jsfiddle.net/7GrbM/
.unwrap
Code will look something on these lines:
Sample Code
$('.button').click(function(){ $('.wrapper img').unwrap(); });