pessoal,
estou com um problema a pelo menos umas 3hrs
e nao faço ideia de como solucionar.
eh o seguinte, eu criei umas funcoes js q nao estao rodando na minha paginha
peço a colaboraçao te todos neste meu problema
segue o codigo abaixo
<head>
...
<script type="text/javascript" language="javascript">
function enviarMenu()
{
window.location = '/monitora/administrativo/testeservico/ViewMenuTesteServico.jsp';
}
function escondeTela(id)
{
var tipo = pegaBrowser();
document.getElementById('tabela'+id).style.display = 'none';
document.getElementById('esconde'+id).style.display = 'none';
document.getElementById('mostra'+id).style.display = tipo;
}
function mostraTela(id)
{
var tipo = pegaBrowser();
document.getElementById('tabela'+id).style.display = tipo;
document.getElementById('esconde'+id).style.display = tipo;
document.getElementById('mostra'+id).style.display = 'none';
}
window.pegaBrowser = function()
{
var browser = navigator.appNome;
if(browser == 'Microsoft Internet Explore')
{
return 'inline';
} else{
return'table-row':
}
}
</script>
...
</head>
<body>
...
<input name="<%=Form.TEXTO_BOTAO_CANCELAR%>" value="<%=Form.TEXTO_BOTAO_CANCELAR%>" type="button" id="<%=Form.BOTAO_CANCELAR%>" onClick="enviarMenu();" />
...
</body>