$(".myButton").rightClick(function(e) {alert("rightclicked!"});