if(event.button == 1 && event.button ==2){
   alert("both were clicked");
}