Сode: <a href="http://www.google.com" onclick="alert('test alert')">test</a> isn't work if user clicks on it in firefox to open it in another tab, actually it isn't work in IE and Opera either, how I can cath this wheel button click and hanle it??? Edit/Delete Message
You can capture the onMouseUp event and check for button==1 <a href="#" onmouseup="alert('button='+event.button);" >test</a> Code (markup):