Remove html element and replace text instead of it

    [javascript]
    var content = $(‘.class’).contents()
    $(‘.class’).replaceWith(content);
    [/javascript]

    Leave a Reply