Enviado em 07/05/2017 - 18:11h
Estou com o seguinte código rodando o plugin sqlite do cordova:
for(var i=0;i<n;i++){
db.executeSql('SELECT alunoNome, alunoTurma, alunoId FROM Aluno WHERE alunoId = ?', [v.rows.item(i).ocorrenciaAlunoId], function(rs){
html +=
"<table class='tab' align='center' width='95%'>\
<tr align='center' height='35px'>\
<td width='72%' "+style+" onclick='verPerfilAluno("+rs.rows.item(0).alunoId+");'>"+rs.rows.item(0).alunoNome+"</td>\
<td width='16%' "+style+">"+rs.rows.item(0).alunoTurma+"</td>\
<td class='olho' width='12%' style='background:transparent; border:none'><img src='img/icon-olho.png' height='24px' onclick='verPerfilOcorrencia("+v.rows.item(i).ocorrenciaId+");'></img></td>\
</tr></table>";
document.getElementById('result').innerHTML = html;
});
}
Como gerar um podcast a partir de um livro em PDF
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Conheça a 4Devs, caixa de ferramentas online para desenvolvedores
Como converter um vídeo MP4 para um GIF para publicar no README.md do seu repositório Github
Como Instalar o Microsoft Teams no Linux Ubuntu