Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) AM

Endereço Nota Erros Avisos

afi.sefaz.am.gov.br/redirect.asp?sistema=14

70.04 12 39
Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 3 119 226 254
119 <![CDATA[<script language="JavaScript"> var cpfMascara = function(val) { return val.replace(/\D/g, '').length > 11 ? '00.000.000/0000-00' : '000.000.000-009'; }, cpfOptions = { onKeyPress : function(val, e, field, options) { field.mask(cpfMascara.apply({}, arguments), options); } }; $('.mascara-cpfcnpj').mask(cpfMascara, cpfOptions); function removerMascara() { $("#nrDocumento").unmask(); } $(document) .ready( function() { $("button") .click( function() { $("#bloqueioPagina").show(); var pb = document .getElementById("carregando"); pb.innerHTML = '<img src="/GAE/estatico/imagens/loader.gif" />'; pb.style.display = ''; }); }); $(window).load(function() { $("#bloqueioPagina").hide(); }); </script>]]>
226 <![CDATA[<script lang="JavaScript"> document.getElementById("curYear").innerHTML = new Date().getFullYear(); </script>]]>
254 <![CDATA[<script type="text/javascript"> $(document).ready(function () { $("#selOrgao").on("change", function () { const idLotacao = $(this).val(); alterarLotacao(idLotacao); }); }); function alterarLotacao(idLotacao) { $.ajax({ url: '/GAE/util/lotacao.do?method=alterarLotacao', type: 'post', data: { 'idLotacao' : idLotacao }, dataType: 'json', timeout: 60000, beforeSend: function() { HoldOn.open({ theme:"sk-circle", message:'Aguarde...' }); }, success: function (resposta) { HoldOn.close(); if (resposta.status === "sucesso") { location.reload(); } else { window.location="/GAE/mnt/index.do" } }, error: function (resposta) { HoldOn.close(); window.location="/GAE/mnt/index.do"; } }); } </script>]]>