I'm trying to open a modal double clicking. I'm using this piece of code but it's not working:
$('#link').dblclick(function () {
$('#myModal').modal('toggle');
});
Fiddle here: http://jsfiddle.net/labanino/JKEj3/
Thanks!
I'm trying to open a modal double clicking. I'm using this piece of code but it's not working:
$('#link').dblclick(function () {
$('#myModal').modal('toggle');
});
Fiddle here: http://jsfiddle.net/labanino/JKEj3/
Thanks!
You need to remove
data-toggle="modal"
from button definition.http://jsfiddle.net/JKEj3/5/
You need to remove
data-toggle="modal"
from the link..http://jsfiddle.net/JKEj3/3/