Skip to content

Commit

Permalink
hzuapps#3 提交实验代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Huangjh14 committed Dec 4, 2016
1 parent b3987f6 commit 10d9876
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions labs/1414080902218/index.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<%@page import="java.util.Date"%>
<html lang="en">
<head>
<meta charset="utf-8">

<title>µÇ¼ҳÃæ</title>

<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap-theme.min.css">
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<style type="text/css">
.center{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body style="text-align:center;">
<div style="margin-right:auto;margin-left:auto;"></div>
<form role="form">

<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<div class="form-group">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
<p class="help-block">Example block-level help text here.</p>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Check me out
</label>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>

</body>
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
$( ".btn" ).click(function() {
//alert(".btn");
$.ajax({
url: "success.json",
success: function(data){
alert(data.msg);
}});
});
</script>

</html>

0 comments on commit 10d9876

Please sign in to comment.