0
Hello, I need to validate an email input. I inserted Jquery into HTML and a plugin I found, Jquery.maskedInput. I managed to make masks for phone, cep, Cpf, but for email I do not know how to proceed. Below is an input that I made of CPF and worked perfectly.
<html>
<script type="text/javascript" src="assets/jquery.js"></script><!--Necessário para as mascaras dos inputs-->
<script type="text/javascript" src="assets/jquery.maskedinput.js"></script><!--Necessário para as mascaras dos inputs-->
<script type="text/javascript">
$(document).ready(function(){
$("#cpf").mask("999.999.999-99");
});
</script>
<p><input id="cpf"class="notNull" placeholder="CPF" oninput="this.className = ''" name="mil_cpf"></p>
</html>
I need to manipulate the input by his ID, because the class I’m already using for something else. I appreciate who can help.
I put it like this,
– Alexandre Oliveira