<button id="btn" type="button" onclick="save()">点我222</button>
<form action="demo_form.php" method="get">
First name: <input type="text" name="fname" ><br>
Last name: <input type="text" name="lname"><br>
<a onclick="save()" ><button type="button">登陆</button></a><br>
<div id="save"><button type="button">点我点我</button></div><br>
<button>submit</button><br>
</form>
<button type="button" onclick="save()">点我点我</button>
form标签中, 无论有几个button 必有一个无法绑定onclick事件
待验证,初步猜测是因为有一个button需要做submit功能