<SCRIPT LANGUAGE="JavaScript">
window.onload = function(){
var sel = document.createElement('select');
var date = new Date();
for(var i=0;i<5;i++){
var opt = document.createElement("option"); opt.value = i;
opt.innerHTML = (date.getYear()-i-1)+"-"+(date.getYear()-i); sel.appendChild(opt);
}
document.body.appendChild(sel);
}</SCRIPT>
<body>
<center>
<form >
<div class="bb">
<br/>
<font size="3" color="#0066cc"><strong>选择年份:</strong></font>
<select id="sel"></select> 我要把什么js里的东西放这里显示,要怎么改?
<font size="3" color="#0066cc"><strong>图形:</strong></font>
javascript
------解决方案--------------------
document.getElementById("sele").appendChild(sel);