2011-05-23 64 views

回答

1

通常你通過阻止其默認和返回false停止從射擊的事件:

foo.onSomeEvent = function(e) { 
    e.preventDefault(); 
    return false; 
}