代码

<html>
  <head>
  <meta charset="utf-8">
    <meta name="generator"
    content="HTML Tidy for HTML5 (experimental) for Windows https://github.com/w3c/tidy-html5/tree/c63cc39" />
    <title>a链接</title>
  </head>
  <body>
  <a href="javascript:alert('a');">链接</a>
  </body>
</html>

js点击a链接弹出alert对话框

js点击a链接弹出alert对话框

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2021-07-15
  • 2022-12-23
  • 2021-08-14
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案