A small library providing a wrapper for api.email-validator.net for jQuery
Download zip, extract and embed jquery.email-validator-net.js
to your HTML.
This Plugin needs jQuery!
See test.js and test.html
// Init only once
$.validateEmail("YOUR API KEY");
// OnClick
$("#submit").click(function () {
$("#email").validateEmail(function (response) {
console.log(response);
})
})
//response looks like that:
{
status: 200, // ==> http://www.email-validator.net/email-verification-results.html
info: "OK - Valid Address", // ==> http://www.email-validator.net/email-verification-results.html
details: "Looong description", // ==> http://www.email-validator.net/email-verification-results.html
simpleStatus: "VALID" // VALID, SUSPECT or INVALID (to keep it simple)
}
});
- 0.1.0 Initial release