Get new jQuery plugins just once a week

×

Confirm mailto

July 30, 2014

Confirm mailto | A plugin to confirm before opening mailto links.

Confirm mailto is a jQuery plugin to confirm with users before opening any mailto: link through their default email client.

$('a.advanced').confirmMailto({
message: 'Are you cool enough to send an email to $to? ',
to: 'html', // href/html
success: function(){
$('a.advanced').css('color','#3C3');
},
fail: function(){
$('a.advanced').css('color','#F66');
},
callback: function(result){
if(result){
alert('Thank you!');
}else{
alert('Boooo!');
}
}
});

Created by Mohamed Moustafa

Download

Example

Confirm mailto jQuery plugin

jQuery mail-to

Confirm mailto

Related posts:

SocialCount
threesixty
PatternLock
Confirm mailto jQuery plugin

http://jquer.in/wp-content/uploads/2014/07/Confirm-mailto.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever