After searching in some sites, I found a CNPJ validation code in jquery, I would like to make this function active when clicking the email field, if the cnpj field is not filled or the value is invalid, I want it to display a alert
.
My HTML with input
CNPJ and Email and also with script
are in this link .
Can anyone help me? I'm not aware of Jquery.