With Jquery take all the elements

3

Hello, I wanted with Jquery to get all product_payment from a store and change.

Changing: At sight R $ 137.66 with a discount or 12x with interest of R $ 13.69. For: At the sight R $ 137,66 with a discount or 12x from R $ 13,69.

It has to be by Jquery because I do not have access to the code. (I can only use Javascript to change)

<div id="product_payment"> <br>
    <span class="txt-avista"> à <span> vista </span></span>
    <strong class="preco-avista precoAvista">R$
        <span>
            <span>137<span>,<span>66</span></span></span>
        </span>
    </strong>
    <span class="txt-com-desconto"> com <span> desconto </span></span>
    <!-- ||137.66|0.00|144.90|11_09_-15_57_59|80 --><br>
    <span class="preco-parc2">
        <span class="txt-corparcelas">ou
            <strong class="color">12x </strong>
            <span class="preco-parc2"><span class="txt-comjurosde"> com juros </span> de
                <strong>R$
                    <span>
                        <span>13<span>,<span>69</span></span></span>
                    </span>
                </strong>
                <span></span>
            </span>
        </span>
    </span>
</div>

How can I change the contents of the div using Jquery?

    
asked by anonymous 14.09.2015 / 15:07

1 answer

3

Hello, it's very simple.

Just do

$('.txt-comjurosde').remove()
    
14.09.2015 / 15:15