HitBTC

Excanges
Follow Us
Downers Grove Spousal Maintenance Attorneys
Cost
Value
This is some text inside of a div block.
Start date
This is some text inside of a div block.
End date
This is some text inside of a div block.

HitBTC

// EMAIL DOMAINS TO BLOCK var emailList = /^([\w-\.]+@(?!ericjonesmyemail@gmail.com)([\w-]+\.)+[\w-]{2,4})?$/ // ALERT MESSAGE TO BE SHOWN var emailAlert = 'Please input a valid work email address (NOT Gmail, Outlook, Yahoo, etc.)' // VALIDATion $('input[type=submit]').click(function() { $("input[type=email]").each(function() { var email = $(this).val().toLowerCase(); if (emailList.test(email)) { (this).setCustomValidity(''); } else { (this).setCustomValidity(emailAlert); } }) }); // PREVENTS ALERT FROM APPEARING WITH EACH KEYPRESS $('input[type=email]').on('input', function() { (this).setCustomValidity(''); });