Obviously a syntax error on my part.
I've got a large quantity of divs where a small amount of them have content wrapped in an anchor. what I'm trying to do is remove the anchors.
thanks for your help!
http://jsfiddle.net/danielredwood/rg6n6/
Desired HTML:
<div class="box"><a href="#"><img src="#"></a></div>
// becomes:
<div class="box"><img src="#"></div>
JavaScript:
$('.box img').unwrap('<a>');