var sel = getElementById("bb")
sel.options.add(new Option(1,2));
就会生成:</select...>
<option value="1">2</option>
</select>这种形式
sel.options.add(new Option(1,2));
就会生成:</select...>
<option value="1">2</option>
</select>这种形式
<option value="0" >0 </option>
</select>
<script>
//参考insertBefore
var input=document.createElement("input");
input.name="aa";
input.id="aa";
var nextSibling=document.getElementById("bb").nextSibling;
if(nextSibling) document.body.insertBefore(input,nextSibling);
else document.body.appendChild(input)
</script>