AlexCT Posted January 27, 2004 Report Share Posted January 27, 2004 Na parte de cadastro existe dois campos:SenhaConfirmar SenhaComo faz algo para confirmas e os dois campos são iguais? Quote Link to comment Share on other sites More sharing options...
0 diraol Posted January 27, 2004 Report Share Posted January 27, 2004 tenta assim...........<script>var senha = window.form.senha.valuevar conf = window.form.conf.valuefunction check{if (senha != conf){alert("SENHA DIFERENTE DE CONFIRMAÇÃO");window.form.conf.focus();}}</script>CAMPOS<form name="form">1 - SENHA: <input type="password" name="senha">2 - CONF : <input type="password" name="conf" onBlur="check()"></form> Quote Link to comment Share on other sites More sharing options...
Question
AlexCT
Na parte de cadastro existe dois campos:
Senha
Confirmar Senha
Como faz algo para confirmas e os dois campos são iguais?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.