hopemissoes
25-07-2014 18:18:55
Gente, já andei pesquisando bastante aqui nesse forúm e até ja percebi que esse problema já foi discutido aqui, porém sem resposta ainda no ano de 2013, queria q vcs me ajudasse...por favor
Em resumo, acessar um elemento dentro de uma tabela. Vou colocar o código pra vcs
<form name="loginForm" method="post" action="/sigaa/logar.do?dispatch=logOn">
<input type="hidden" name="width" value="1366" id="width">
<input type="hidden" name="height" value="768" id="height">
<input type="hidden" name="urlRedirect" value="">
<input type="hidden" name="subsistemaRedirect" value="">
<input type="hidden" name="acao" value="">
<input type="hidden" name="acessibilidade" value="">
<script>
document.getElementById('width').value = screen.width;
document.getElementById('height').value = screen.height;
</script>
<table align="center" width="100%" cellspacing="0" cellpadding="3">
<tbody>
<tr>
<th width="35%"> Usuário: </th>
<td align="left"> <input type="text" name="user.login" size="20" value=""></td>
</tr>
<tr>
<th> Senha: </th>
<td> <input type="password" name="user.senha" size="20" value=""> </td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Entrar">
</td>
</tr>
</tfoot>
</table>
</form>
Preciso acessar esse elemento "user.login" pra poder fazer login de um site... Por favor, me ajudem, ja estou tentando há vários dias e nada....muito obrigado desde já
Em resumo, acessar um elemento dentro de uma tabela. Vou colocar o código pra vcs
<form name="loginForm" method="post" action="/sigaa/logar.do?dispatch=logOn">
<input type="hidden" name="width" value="1366" id="width">
<input type="hidden" name="height" value="768" id="height">
<input type="hidden" name="urlRedirect" value="">
<input type="hidden" name="subsistemaRedirect" value="">
<input type="hidden" name="acao" value="">
<input type="hidden" name="acessibilidade" value="">
<script>
document.getElementById('width').value = screen.width;
document.getElementById('height').value = screen.height;
</script>
<table align="center" width="100%" cellspacing="0" cellpadding="3">
<tbody>
<tr>
<th width="35%"> Usuário: </th>
<td align="left"> <input type="text" name="user.login" size="20" value=""></td>
</tr>
<tr>
<th> Senha: </th>
<td> <input type="password" name="user.senha" size="20" value=""> </td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Entrar">
</td>
</tr>
</tfoot>
</table>
</form>
Preciso acessar esse elemento "user.login" pra poder fazer login de um site... Por favor, me ajudem, ja estou tentando há vários dias e nada....muito obrigado desde já