js里面如何判断按钮触发了哪个事件onmouseover="test(event)"js改下function test(e){var type=e.type type就等于 mouserover或者mouseout}<!DOCTYPE h2023-05-01JavaScript1770