A query that may be easy, I want to change the text of a "p" element but without affecting its child element, that is, its element must be intact.
<p class="price-cash" >Precio:<strong class="idprecio">$ 0.89</strong></p>
What I want is that instead of "Price" another text appears, but without affecting the child element. I tried to do with jquery, but it replaces everything and the elementary son is deleted
$(".price-cash").text('VALOR NUEVO');