工作记录9
1.点击按钮发送AJAX请求
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>#result {width: 100%;height: 500px;/* background-color: red;/ */border: 1px solid #000;}</style>
</head><body><button>点击发送请求</button><div id="result"></div><script>const btn = document.querySelector(&#