答案 0 :(得分:0)
<select name="Year" class="bdayyear">
<option value="year">Year</option>
<script language="javascript">
for (var i = 1960; i < 2010; i ++) {
document.write("<option value=\"" + i + "\">" + i + "</option>\n");
}
</script>
</select>
对不起伙计们,我是Stack over flow的新手。但那就是答案。享受!