Ir para conteúdo
Fórum CódigoFonte.net
Entre para seguir isso  
Sammer

ME AJUDEM TURMA - [object HTMLParagraphElement]

Recommended Posts

<p class="price">
<span class="woocommerce-Price-amount amount">
<span class="woocommerce-Price-currencySymbol">R$</span>
98,00 </span>
</p>
 
var form = document.querySelector(".price");
    var modal = document.querySelector('#myModal1 .modal-sm .modal-content1');
    modal.innerHtml = form;
 
 
COMO FICOU:
 
<div class="modal-content1">
 
[object HTMLParagraphElement]
 
</div>
 
 
COMO ERA PARA FICAR:
 
<div class="modal-content1">
 
<p class="price">
<span class="woocommerce-Price-amount amount">
<span class="woocommerce-Price-currencySymbol">R$</span>
98,00 </span>
</p>
 
 
</div>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Visitante
Responder

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...
Entre para seguir isso  

×
×
  • Criar Novo...