Quantcast
Channel: Fórum ASP
Viewing all articles
Browse latest Browse all 1214

Verficação

$
0
0

Gostaria de saber como posso fazer o segundo ficar com as mesmas funções do primeiro(parte em asp somente), as parte do html ta ok.

 
1º index.asp
<html>
<head>
<title>Sistema de Controle</title>
<script type="text/javascript">
  function goFocus(elementID){
  document.getElementById(elementID).focus();
  }
  </script>
</head>
<body onload="goFocus('usuario')">
<!--#include file="formatacao.txt"-->
<br><br><br><br><br><br>
<form action="vlogin.asp" method="post" name="FormLogin">
<table border="1" align="center" cellpadding="0" cellspacing="0">
 <tr>
   <td colspan="2" align="center"><font class="erro">Login</font></td>
 </tr>
 <tr>
   <td align="left"><font class="msg">Usuario</font></td>
   <td align="left"><input name="usuario" id="usuario" type="text" maxlength="50" size="20"></td>
 </tr>
 <tr>
   <td align="left"><font class="msg">Senha</font></td>
   <td align="left"><input name="senha" type="password" maxlength="50" size="20"></td>
 </tr>
 <tr>
   <td colspan="2" align="center"><input name="entrar" type="submit" value="Entrar"></td>
 </tr>
</table>
</form>
</body>
</html>
 
 
2º index.asp
<html>
<head>
<title>Página de Login</title>
<link rel="stylesheet" href="style.css"></head>
<body>
 
<br><br><br><section class="loginform ">
<fieldset>
<legend align="center">Login</legend>
<label>
<span>Usuário</span>
<input type="text" name="usuario" size="22" id="usuario" 
 
placeholder="Digite aqui o seu usuário" required/>
</label>
<label>
<span>Senha</span>
<input type="password" size="22" name="senha" id="senha" 
 
placeholder="Digite aqui a sua senha" required/>
</label>
<label>
<input type="submit" value="enviar" />
</label>
</fieldset>
</section>
 
</body>
</html>

 


Viewing all articles
Browse latest Browse all 1214

Trending Articles