From http://www.cnblogs.com/zagelover/articles/2840762.html
总体一样,但bind的适用面更广,可以传参,e.g.
var message = "right";
$("a").bind("contextmenu", function() {
alert(message);
return false;
});
From http://www.cnblogs.com/zagelover/articles/2840762.html
总体一样,但bind的适用面更广,可以传参,e.g.
var message = "right";
$("a").bind("contextmenu", function() {
alert(message);
return false;
});