No description, website, or topics provided.
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
jquery.email-validator-net.js
test.html
test.js

README.md

jquery-email-validator-net

A small library providing a wrapper for api.email-validator.net for jQuery

Installation

Download zip, extract and embed jquery.email-validator-net.js to your HTML. This Plugin needs jQuery!

Usage

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)
  }

});

Release History

  • 0.1.0 Initial release