理解JavaScript中的事件

2019-06-03 19:36:42王旭

    }
      if(event.stopPropagation)   event.stopPropagation();
    else event.cancelBubble=true;     
  }