< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="Untitled-2.js" type="text/javascript"></script>
</head>
<body>
<a href="#" οnclick="alert_me('this is a link')">Click to alert me</a>
<script>
var abc = "abc";
window.alert(abc);
</script>
</body>
</html>
js alert测试
最新推荐文章于 2024-10-04 06:11:34 发布