0
HTML:
<ul class='border ulHRelatorios'>
<li style='text-align: left; width:79.05%'>Houve SUPERVISÃO?</li>
<li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;'id='supervisaoS'>X</label></li>
<li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='supervisaoN'>X</label></li>
</ul>
PHP Printing Javascript:
echo
$celulasReuniao->getSupervisao() == "s"
? "<script>$('#supervisaoS').css('visibility','visible')</script>"
: "<script>$('#supervisaoN').css('visibility','visible')</script>"
;
The problem:
That code is inside a call $.ajax
:
$("#celPastor").on("click", function () {
if ( checkRadioPeriodo() == false ) return false;
if ( checkRadioOrdenacao() == false ) return false;
$.ajax({
url: "_scripts/_php/_buscas/relatorioCelulas.php",
type: "POST",
dataType: "json",
data: {
ordenacao: $("[name='ordenacao']:checked").val(),
celPastor: "",
periodo : $("[name='periodo']:checked").val(),
idPastor : null
},
beforeSend: function () {
$("#celPastor").css("visibility", "hidden");
$("#imgCarregando").css("visibility", "visible");
},
success: function (result) {
$("#celPastor").css("visibility", "visible");
$("#imgCarregando").css("visibility", "hidden");
$(".resposta").html(result);
}
});
})
That way, every time I echo here, the $.ajax
demands and does not allow to continue. However validation is necessary for mark the X in the field right.
Is there any recourse to it?
Or I’m doing it wrong?
Console output:
<script>$('#supervisaoS').css('visibility','visible')</script><script>$('#supervisaoN').css('visibility','visible')</script><script>$('#supervisaoN').css('visibility','visible')</script><script>$('#supervisaoN').css('visibility','visible')</script>"\t\r\n <div class='relatorio'>\r\n\t\r\n\t\t<img src='_imgs\/gceu.png' \/> <h1>Relat\u00f3rio Mensal<\/h1>\r\n\t\t<br \/><br \/><div>\t\r\n\t\t<ul class='border'>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;'><label class='labelPequeno'>Gc\u00e9u<\/label> : C\u00e9lula 1<\/li>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;' class='backCinza'><label class='labelPequeno'>Supervisor de Setor<\/label> : Jonas<\/li>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;'><label class='labelPequeno'>L\u00edder<\/label> : Cleonice<\/li>\r\n\t\t <li style='text-align: left;'><label class='labelPequeno'>Auxiliar<\/label> : Cleonice<\/li>\r\n\t\t<\/ul>\r\n\t\t<ul class='border'>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;'><label class='labelPequeno'>Dias que acontece<\/label> : Ter\u00e7a<\/li>\r\n\t\t <li style='text-align: left;'><label class='labelPequeno'>Membros Ativos<\/label> : 1<\/li>\r\n\t\t<\/ul>\t\r\n\t\t<br \/>\t<ul class='vertical'><li><h3 class='hCentralizado'>Reuni\u00f5es<\/h3><\/li><\/ul><div class='reunioesCelulas'>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse backCinza'>\r\n\t\t\t\t\t <li><label>Data<\/label><\/li>\r\n\t\t\t\t\t <li><label>Membros<br \/>Comprometidos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Visitantes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Criancas<br \/>0-10 anos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Total<br \/>Presentes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Oferta<\/label><\/li>\r\n\t\t\t\t\t <li><label>Discipulado<\/label><\/li>\r\n\t\t\t\t\t <li><label>GE's<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse dadosRel'>\r\n\t\t\t\t\t <li>15\/01\/2019<\/li>\r\n\t\t\t\t\t <li>20<\/li>\r\n\t\t\t\t\t <li>3<\/li>\r\n\t\t\t\t\t <li>2<\/li>\r\n\t\t\t\t\t <li>25<\/li>\r\n\t\t\t\t\t <li> : R$ 30,45<\/li>\r\n\t\t\t\t\t <li>0<\/li>\r\n\t\t\t\t\t <li>0<\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes no Domingo<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes na Semana<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:20%;' class='backCinza'>Decis\u00f5es<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>2<\/li>\r\n\t\t\t\t\t<\/ul>\t\t\r\n\t\t\t\t\t<br \/>\t\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios backCinza'>\r\n\t\t\t\t\t <li class='centralizado' style='width:79.05%'>QUEST\u00d5ES COMPLEMENTARES<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>SIM<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>N\u00c3O<\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve Evangelismo nas proximidades do GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve dia de Jejum coletivo pelo GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve SUPERVIS\u00c3O?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;'id='supervisaoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='supervisaoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border'>\r\n\t\t\t\t\t <li>Observa\u00e7\u00f5es:<br \/><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t<\/div>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse backCinza'>\r\n\t\t\t\t\t <li><label>Data<\/label><\/li>\r\n\t\t\t\t\t <li><label>Membros<br \/>Comprometidos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Visitantes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Criancas<br \/>0-10 anos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Total<br \/>Presentes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Oferta<\/label><\/li>\r\n\t\t\t\t\t <li><label>Discipulado<\/label><\/li>\r\n\t\t\t\t\t <li><label>GE's<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse dadosRel'>\r\n\t\t\t\t\t <li>01\/02\/2019<\/li>\r\n\t\t\t\t\t <li>10<\/li>\r\n\t\t\t\t\t <li>2<\/li>\r\n\t\t\t\t\t <li>2<\/li>\r\n\t\t\t\t\t <li>14<\/li>\r\n\t\t\t\t\t <li> : R$ 22,65<\/li>\r\n\t\t\t\t\t <li>1<\/li>\r\n\t\t\t\t\t <li>0<\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes no Domingo<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes na Semana<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:20%;' class='backCinza'>Decis\u00f5es<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>6<\/li>\r\n\t\t\t\t\t<\/ul>\t\t\r\n\t\t\t\t\t<br \/>\t\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios backCinza'>\r\n\t\t\t\t\t <li class='centralizado' style='width:79.05%'>QUEST\u00d5ES COMPLEMENTARES<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>SIM<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>N\u00c3O<\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve Evangelismo nas proximidades do GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve dia de Jejum coletivo pelo GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve SUPERVIS\u00c3O?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;'id='supervisaoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='supervisaoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border'>\r\n\t\t\t\t\t <li>Observa\u00e7\u00f5es:<br \/><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t<\/div>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse backCinza'>\r\n\t\t\t\t\t <li><label>Data<\/label><\/li>\r\n\t\t\t\t\t <li><label>Membros<br \/>Comprometidos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Visitantes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Criancas<br \/>0-10 anos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Total<br \/>Presentes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Oferta<\/label><\/li>\r\n\t\t\t\t\t <li><label>Discipulado<\/label><\/li>\r\n\t\t\t\t\t <li><label>GE's<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse dadosRel'>\r\n\t\t\t\t\t <li>03\/02\/2019<\/li>\r\n\t\t\t\t\t <li>20<\/li>\r\n\t\t\t\t\t <li>5<\/li>\r\n\t\t\t\t\t <li>9<\/li>\r\n\t\t\t\t\t <li>34<\/li>\r\n\t\t\t\t\t <li> : R$ 55,33<\/li>\r\n\t\t\t\t\t <li>1<\/li>\r\n\t\t\t\t\t <li>0<\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes no Domingo<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes na Semana<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:20%;' class='backCinza'>Decis\u00f5es<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>3<\/li>\r\n\t\t\t\t\t<\/ul>\t\t\r\n\t\t\t\t\t<br \/>\t\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios backCinza'>\r\n\t\t\t\t\t <li class='centralizado' style='width:79.05%'>QUEST\u00d5ES COMPLEMENTARES<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>SIM<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>N\u00c3O<\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve Evangelismo nas proximidades do GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve dia de Jejum coletivo pelo GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve SUPERVIS\u00c3O?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;'id='supervisaoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='supervisaoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border'>\r\n\t\t\t\t\t <li>Observa\u00e7\u00f5es:<br \/><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t<\/div><ul class=\"resumo\"> <li><i>Totais no per\u00eddo de 15 dias para o Gc\u00e9u : C\u00e9lula 1<\/i><\/li> <li><label class=\"labelPequeno\">Visitas<\/label> : 10<\/li> <li><label class=\"labelPequeno\">Crian\u00e7as<\/label> : 13<\/li> <li><label class=\"labelPequeno\">Presentes<\/label> : 50<\/li> <li><label class=\"labelPequeno\">Discipulados<\/label> : 2<\/li> <li><label class=\"labelPequeno\">Oferta<\/label> : R$ 108,43<\/li> <li><label class=\"labelPequeno\">Descisoes<\/label> : 11<\/li><\/ul><hr noshade=\"noshade\" width=\"100%\" size=\"5px\" \/><br \/>\t\r\n\t\t<ul class='border'>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;'><label class='labelPequeno'>Gc\u00e9u<\/label> : Celula 2<\/li>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;' class='backCinza'><label class='labelPequeno'>Supervisor de Setor<\/label> : Jonas<\/li>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;'><label class='labelPequeno'>L\u00edder<\/label> : Carlos<\/li>\r\n\t\t <li style='text-align: left;'><label class='labelPequeno'>Auxiliar<\/label> : Carlos<\/li>\r\n\t\t<\/ul>\r\n\t\t<ul class='border'>\r\n\t\t <li style='text-align: left; border-bottom: .1px rgb(0,0,0) solid;'><label class='labelPequeno'>Dias que acontece<\/label> : Segunda<\/li>\r\n\t\t <li style='text-align: left;'><label class='labelPequeno'>Membros Ativos<\/label> : 1<\/li>\r\n\t\t<\/ul>\t\r\n\t\t<br \/>\t<ul class='vertical'><li><h3 class='hCentralizado'>Reuni\u00f5es<\/h3><\/li><\/ul><div class='reunioesCelulas'>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse backCinza'>\r\n\t\t\t\t\t <li><label>Data<\/label><\/li>\r\n\t\t\t\t\t <li><label>Membros<br \/>Comprometidos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Visitantes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Criancas<br \/>0-10 anos<\/label><\/li>\r\n\t\t\t\t\t <li><label>Total<br \/>Presentes<\/label><\/li>\r\n\t\t\t\t\t <li><label>Oferta<\/label><\/li>\r\n\t\t\t\t\t <li><label>Discipulado<\/label><\/li>\r\n\t\t\t\t\t <li><label>GE's<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios minhaClasse dadosRel'>\r\n\t\t\t\t\t <li>31\/01\/2019<\/li>\r\n\t\t\t\t\t <li>5<\/li>\r\n\t\t\t\t\t <li>2<\/li>\r\n\t\t\t\t\t <li>1<\/li>\r\n\t\t\t\t\t <li>8<\/li>\r\n\t\t\t\t\t <li> : R$ 78,39<\/li>\r\n\t\t\t\t\t <li>1<\/li>\r\n\t\t\t\t\t <li>0<\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes no Domingo<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:23.5%;' class='backCinza'>Presentes na Semana<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t <li class='centralizado backCinza' style='width:20%;' class='backCinza'>Decis\u00f5es<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%;'>0<\/li>\r\n\t\t\t\t\t<\/ul>\t\t\r\n\t\t\t\t\t<br \/>\t\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios backCinza'>\r\n\t\t\t\t\t <li class='centralizado' style='width:79.05%'>QUEST\u00d5ES COMPLEMENTARES<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>SIM<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'>N\u00c3O<\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve Evangelismo nas proximidades do GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='evangelismoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve dia de Jejum coletivo pelo GCEU?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='jejumN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\t\r\n\t\t\t\t\t<ul class='border ulHRelatorios'>\r\n\t\t\t\t\t <li style='text-align: left; width:79.05%'>Houve SUPERVIS\u00c3O?<\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;'id='supervisaoS'>X<\/label><\/li>\r\n\t\t\t\t\t <li class='centralizado' style='width:10%; border-left: .1px solid rgb(0,0,0);'><label style='visibility: hidden;' id='supervisaoN'>X<\/label><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<ul class='border'>\r\n\t\t\t\t\t <li>Observa\u00e7\u00f5es:<br \/><\/li>\r\n\t\t\t\t\t<\/ul>\r\n\t\t\t\t<\/div><ul class=\"resumo\"> <li><i>Totais no per\u00eddo de 15 dias para o Gc\u00e9u : Celula 2<\/i><\/li> <li><label class=\"labelPequeno\">Visitas<\/label> : 2<\/li> <li><label class=\"labelPequeno\">Crian\u00e7as<\/label> : 1<\/li> <li><label class=\"labelPequeno\">Presentes<\/label> : 5<\/li> <li><label class=\"labelPequeno\">Discipulados<\/label> : 1<\/li> <li><label class=\"labelPequeno\">Oferta<\/label> : R$ 78,39<\/li> <li><label class=\"labelPequeno\">Descisoes<\/label> : 0<\/li><\/ul><hr noshade=\"noshade\" width=\"100%\" size=\"5px\" \/><br \/><\/div>"
What is "he complains"?
– Wictor Chaves
This "echo", you’re doing within "date"?
– Wictor Chaves
When using
dataType: "json",
you are expecting a JSON as return fromrelatorioCelulas.php
... What would this JSON be?– Sam
exactly that: the json is being printed on the console. The code is stopping the display in the browser because of echo. That is, the display only happens on the console.
– Carlos Rocha
I added the output to the question but it’s great
– Carlos Rocha
Put the whole Ajax. It’s a bit confusing to understand.
– Sam
if I remove echo, the code the page appears but as a result Visible’s do not work
– Carlos Rocha
done, is in question already!
– Carlos Rocha
This "console output" you placed is the value of
result
?– Sam
can’t say, but I added a console print to the question. But I think it is because that’s what comes out there?
– Carlos Rocha
Let’s go continue this discussion in chat.
– Sam
I know that in ajax outputs there can NOT be any. But here is being needed.
– Carlos Rocha