js
This commit is contained in:
18
javascriptpress/demo/demo4.html
Normal file
18
javascriptpress/demo/demo4.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>javascript演示</title>
|
||||
<script>
|
||||
function hello(){
|
||||
alert("你好")
|
||||
}
|
||||
hello()
|
||||
function bay(){
|
||||
alert("再见")
|
||||
}
|
||||
bay()
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
打开页面的时候会出现一个弹框 内容为 你好 然后会出现 再见
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user