JavaScript Tutorial

.holdReady()

<!DOCTYPE html>
<html>
<head>
<meta charset=" utf-8">
<script src="http://cdn.static.w3big.com/libs/jquery/1.10.2/jquery.min.js"></script>
</head> 
<body> 
<button id="first">Click test to pop up</button>
<button id="second">Release delay</button> 
<script> 
    $.holdReady(true)      
    $(document).ready(function(){ 
        $("#first").click(function(){ 
            alert("Popped after releasing the delay"); 
        }) 
    }) 
    $("#second").click(function(){ 
        $.holdReady(false); 
    }) 
</script>
</body> 
</html>