Colleagues
I made this script to validate access, but it is not working. Can anyone tell me where the error is?
<html>
<head>
<title>title</title>
</head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"><scripttype="text/javascript">
$('#submit').submit(function(){
alert('aqui');
return false;
});
</script>
<body>
<div id="success"></div>
<form id="contact-form" action="#" method="post">
<input name="Email" placeholder="Login" id="login" type="text" required >
<input name="Password" placeholder="Senha" id="senha" type="password" required>
<div class="sign-up">
<div align="center">
<button type="submit" value="Acessar" id="submit"/>Acessar</button>
</div>
</div>
</form>
</body>
</html>