Enviado em 29/03/2018 - 13:15h
Em um HTML tenho por exemplo:<fieldset>
<div>
<h3 class="title title-line">Dados da conta
</h3>
</div>
<div class="ch-form-row">
<label>Usuário</label>
<span>MEU-USUARIO</span>
<a class="smalla" href="https://myaccount.mercadolivre.com.br/profile/changeNickName">Modificar</a>
</div>
<div class="ch-form-row">
<label>E-mail</label>
<span>xyz@gmail.com</span>
<a class="smalla" href="https://myaccount.mercadolivre.com.br/profile/changeEmail">Modificar</a>
</div>
<div class="ch-form-row">
<label>Senha</label>
<span>**********</span>
<a class="smalla" href="https://accountrecovery.mercadolivre.com.br/accountrecovery/changePassword">Modificar</a>
</div>
</fieldset>
$( "#id-de-teste" ).load("https://myaccount.mercadolivre.com.br/profile .ch-form-row span:first", function(data, status){
username = $('#retorno_webtracker').html();
alert(username);
}); $.get("https://myaccount.mercadolivre.com.br/profile", function(data, status){
//alert("Data: " + data + "\nStatus: " + status);
//username = $('span',$('.ch-form-row')).html();
filtro = data.getElementsByClassName('ch-form-row');
console.log( filtro );
}); Trabalhando Nativamente com Logs no Linux
Jogando Daikatana (Steam) com Patch 1.3 via Luxtorpeda no Linux
LazyDocker – Interface de Usuário em Tempo Real para o Docker
Linux Mint: Zram + Swapfile em Btrfs
O widget do Plasma 6 Área de Notificação
Vou destruir sua infância:) (2)
[Resolvido] Conselho distribuiçao brasileira (12)









