📜  html onclick 传递事件 - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:57.403000             🧑  作者: Mango

代码示例1

The onclick field is triggered when the current element is pressed. In the
example below, if you clicked a button it would trigger some JavaScript code.


.