用的函数是setFullYear(),getFullYear()
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="../common/jquery-1.8.3.min.js"></script>
</head>
<body>
<div>
<label for="">出生年</label>
<input type="text" id="year">
</div>
<div>
<label for="">出生月</label>
<input type="text" id="month">
</div>
<div>
<label for="">出生日</label>
<input type="text" id="date">
</div>
<div>
<button id="btn">提交