Answers for "dblclick on button in js"

2

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";
    }
}
Posted by: Guest on December-14-2020

Browse Popular Code Answers by Language