//Emulate a middle click DOM event
$('#el').fireEvent('click',{button:1});
//or
$.fireEvent(document.getElementById('el'),'click',{button:1});
//Emulate a middle click DOM event
$('#el').fireEvent('click',{button:1});
//or
$.fireEvent(document.getElementById('el'),'click',{button:1});