document.getElementById("tot-block")
.addEventListener("click", e => e.target.dispatchEvent(
new MouseEvent('dblclick', {
'view': window,
'bubbles': true,
'cancelable': true
})
)
);
isTrusted
. $( "#other" ).click(function() {
$( "#target" ).dblclick();
});