Check for valid email example
jQuery(function ($) { | |
$( document ).ready(function() { | |
$(“.diviclick”).on(“click”, function(){ | |
event.preventDefault(); | |
if ($('#email').val().length > 0){ | |
$(‘#guiarapidaoptin’).submit(); | |
}else { | |
alert('A valid email address is required') | |
} | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment