dblclick on button in js code example
Example: page required double click button
if (!window.getComputedStyle) {
// Fallback for obsolete IE
window.getComputedStyle = function(e) {
return e.currentStyle;
};
}
function madison() {
var x = document.getElementById("madison_inv");
if (getComputedStyle(x).display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}