[ACCEPTED]-how to remove p tags within a div?-jquery
Accepted answer
There's lots of ways you can do it. I'd 1 probably go with:
$('#footright > p').contents().unwrap();
Yes:
$('#footright').text($('#footright').text());
0
$( "#footright>p" ).replaceWith(function() { return $(this).contents(); });
0
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.