addPeer.html
<!DOCTYPE html>
<html>
<head><meta charset="utf-8"> <title>java区块链</title><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script><script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script><script>$(function() { $("#mineing").html("点击添加节点").css("color","red");$("#myButton4").click(function(){var params={};var data = $("#data").val();if(data==""){alert("区块链存储数