运行 ❯
获取您
的
网站
×
更改方向
保存代码
更改主题,暗/亮
转到空间
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(event){ $("span").text(event.timeStamp); }); }); </script> </head> <body> <p>The click event occurred <span style="color:red">unknown</span> milliseconds after January 1, 1970.</p> <button>Click me</button> </body> </html>