你把select放到div中,然后直接改div的innerHTML就可以实现了。

解决方案 »

  1.   

    你直接写好的字符传不可以应用给select的..function tj(){
    for(i=1;i<3;i++){
    document.form1.select1.options[document.form1.select1.options.length] = new Option("表"+i,"table"+i)
    }
    }这样循环加入你的数据..
      

  2.   

    document.all.select.options.add(new Option("表二","table2");
      

  3.   

    不好意思,拼写错误。document.all.select.options.add(new Option("表二","table2"));
      

  4.   

    用一个for循环,把option加进去
    document.form.select.options.add(new Option('text', 'value'))
      

  5.   

    <select name="select" id="dltTb"  multiple></select>functin add(str){
      var dlt=document.getElementById("dltTb");
      var tmpStr=dlt.innerHTML;
      dlt.outerHTML='<select name="select" id="dltTb"  multiple>'+ tmpStr + str +'</select>';
    }