设置点击id为btn的按钮并用HTML+JQuery实现
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<script src="js/jquery-3.3.1.js"></script>
</head>
<body>
<!--html代码-->
<p><input type="text" id="username"/></p>
<p><input type="password" id="password"/></p>
<p> <button id="btn" type="button">提交</button></p>
<!--jquery代码-->
<script>
$(function(){
$("#btn").on("click",function(){
var name = $(