JS:使用JQuery通过选择标签触发方法
HTML部分:
<button>点击我</button>
JavaScript部分:
$("button").click(function() {
alert("Hello World!");
});
let today = new Beginning();
Click the left button to use the catalog.
JS:使用JQuery通过选择标签触发方法
<button>点击我</button>
$("button").click(function() {
alert("Hello World!");
});
This article was last edited at 2023-05-10 15:39:15