parent
64e368d353
commit
f3e0dc83b9
3 changed files with 20 additions and 2 deletions
@ -0,0 +1,17 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<title>JS编写位置</title> |
||||
<script type="text/javascript" src="js/scriptjs.js"> |
||||
// document.write('写点啥'); |
||||
</script> |
||||
<script type="text/javascript"> |
||||
document.write('写点啥'); |
||||
</script> |
||||
</head> |
||||
<body> |
||||
<button onclick="alert('点了一下')">点击按钮</button> |
||||
<a href="javascript:alert('点了一下href');">点击链接</a> |
||||
</body> |
||||
</html> |
@ -0,0 +1 @@ |
||||
alert('scriptjs文件中') |
Loading…
Reference in new issue