页面中三个输入框,输入年月日,一个按钮,点击得到此日期在当年中是第几天(考虑闰年和平年)
代码:
<!DOCTYPE html>
<html>
<head>
<!-- 1、页面中三个输入框,输入年月日,一个按钮,点击得到此日期在当年中是第几天(考虑闰年和平年) -->
<meta charset="utf-8">
<title></title>
</head>
<body>
<input type="text" id="year" placeholder="请输入年:" />
<input type="text" id=