http://expert.csdn.net/Expert/TopicView1.asp?id=2143373  // JS  Web Combo Box

解决方案 »

  1.   

    第一个问题解决:<script language="javascript">
    <!--
    function refresh(o){
    o.selectedIndex=-1
    }

    function selchange(text,sel){
    if (sel.selectedIndex!=-1) {
    text.onchange=null;
    text.value=sel.value;
    text.onchange=function(){
    refresh(sel);
    };
    }
    }
    //-->
    </script><select  style="position:absolute; left:50px; top:20px; z-index:1;width:127; height:19;clip: rect(3 125 19 109)"  name="myselect" style="" onchange="selchange(document.all.test,this);" size="1">
      <option selected value="ssfasf">ssfasf</option>
      </select>
    <input style="position: absolute; left: 50px; top: 21px;z-index:2;font-size: 12px; padding-top: 2px; padding-left: 2px;" type="text" name="test" onchange="refresh(document.all.myselect);"  size="20" style="width: 127; height: 19">第二个问题没办法