Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Check for valid email example
jQuery(function ($) {
$( document ).ready(function() {
$(“.diviclick”).on(“click”, function(){
if ($('#email').val().length > 0){
}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