I'm looking to hide the parent of a child element but not the child element itself.
<div class="bordered">
<div class"banner-outer">
<span class="text">My text content</span>
</div>
</div>
When I do something like:
$(".bordered").hide();
$(".text").show();
The inner most element .text
remains hidden because of the parent. Is there a way to only show the child element?