chexton
5/28/2013 - 5:56 AM

fix-jquery-overlap.js

fix-jquery-overlap.js

jQuery(document.getElementById('input_email')).blur(function() { // Replace with the ID of the HTML input element where they enter their email
    var input = $(this); 
    var email = input.val();
    var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
   
    if(regex.test(email)) {
      _veroq.push(['user', {
        id: email,
        email: email
      }]);
    }
});