"this should work but don't lol"
Bootstrap 3.0.0 Snippet by TaylorStromei

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <form class="go-right"> <!-- Define email / mobile & input / result fields --> <div> <input name="email" value="" id="email" placeholder="Enter Email" data-trigger="change" data-validation-minlength="1" data-type="name" data-required="true" data-error-message="Enter Email" type="name" onblur="ValidateEmail()"> <span id="ValidateIcon"></span></div> <div><input id="EmailResult" type="text" hidden/></div> </form> </div>
ValidateEmail = function () { var email = document.getElementById("email").value; /* Retrieve email from input field */ var requestemail = ("{email: " + '"' + email + '"' + "}"); /* Build email request format */ $.ajax({/* Send email packet to server */ url: "https://api.experianmarketingservices.com/sync/queryresult/EmailValidate/1.0/", async: true, /* Set sync or async website behaviour */ type: "POST", data: (requestemail), dataType: "json", headers: {"Auth-Token": "90e27a13-6037-4a8a-899c-c0b5ee99676d", "Content-Type": "application/json"}, success: function (EmailResult) { /* Bind result to EmailResult */ document.getElementById("EmailResult").value = EmailResult.Certainty; if (EmailResult.Certainty === 'verified') { /* Display icon based on result */ document.getElementById("ValidateIcon").className = "glyphicon glyphicon-ok-sign"; } else if (EmailResult.Certainty === 'undeliverable') { document.getElementById("ValidateIcon").className = "glyphicon glyphicon-remove-sign"; } else { document.getElementById("ValidateIcon").className = "glyphicon glyphicon-question-sign"; } } }); };

Related: See More


Questions / Comments: