<!DOCTYPE HTML> <html> <head> <title>Home</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="" /> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <link rel="stylesheet" href="css/morris.css" type="text/css"/> <!-- Graph CSS --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- jQuery --> <script src="js/jquery-2.1.4.min.js"></script> <!-- //jQuery --> <link href='http://fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet' type='text/css'/> <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> <!-- lined-icons --> <link rel="stylesheet" href="css/icon-font.min.css" type='text/css' /> <!-- //lined-icons --> </head> <body> <div class="page-container"> <a href="#" id="gotoclick">click<a> </div><script> $(document).ready(function(){ $("#gotoclick").click(function(){ alert("段落被点击了。"); $(".page-container").load("maps.html"); }); }); </script> </body> </html>